# Why does my border change with 1 zoom in or out?

**URL:** <https://forum.kirupa.com/t/why-does-my-border-change-with-1-zoom-in-or-out/265077>\
**Category:** web dev\
**Created:** [July 3, 2008, 5:10pm UTC](https://forum.kirupa.com/t/why-does-my-border-change-with-1-zoom-in-or-out/265077 "2008-07-03T17:10:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![w1sh](https://avatars.discourse-cdn.com/v4/letter/w/7feea3/32.png) [@w1sh](https://forum.kirupa.com/u/w1sh)\
**Post date:** [July 3, 2008, 5:10pm UTC](https://forum.kirupa.com/t/why-does-my-border-change-with-1-zoom-in-or-out/265077/1 "2008-07-03T17:10:58Z")

</div>

[http://webs.ashlandctc.org/csimmons/sites/Communicast/pages/2.0\_beta.htm](http://webs.ashlandctc.org/csimmons/sites/Communicast/pages/2.0_beta.htm)

When you zoom in (Ctrl + “+”) or out (Ctrl + “-”) once, the bottom border to the banner image (that thing with the hideous typography) messes up a pixel. I don’t understand why. Using FF.

Thanks.

Edit: Also, I can’t figure out why my fuchsia div (#content) won’t expand with the divs inside it… I guess its because they’re floating, but I don’t know a better way to align them. :\ Meh.

Neither problem is that bothering. Just curious.

---

<div class="post-metadata">

**Author:** ![redelite](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@redelite](https://forum.kirupa.com/u/redelite)\
**Post date:** [July 3, 2008, 6:22pm UTC](https://forum.kirupa.com/t/why-does-my-border-change-with-1-zoom-in-or-out/265077/2 "2008-07-03T18:22:40Z")

</div>

Doesn’t do it when I tried. Also side note… add this to your css…

```auto

#content:after {
	content: " ";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

```

…to solve the overflow issue with your floats :thumb2:

---

<div class="post-metadata">

**Author:** ![w1sh](https://avatars.discourse-cdn.com/v4/letter/w/7feea3/32.png) [@w1sh](https://forum.kirupa.com/u/w1sh)\
**Post date:** [July 3, 2008, 7:06pm UTC](https://forum.kirupa.com/t/why-does-my-border-change-with-1-zoom-in-or-out/265077/3 "2008-07-03T19:06:36Z")

</div>

(-: Thank you. I’ll start using those options in my stuff. (Padding/overflow/margins screw me up so much it’s unbelievable).  
I think it’s just a browser thing. I think I do banners in an iffy way because it messes up a little in FF and the edges of the centered banner are noticeable in IE. Eh, I think I need to start making fixed sites.
