Strange centering problem in Firefox and IE8
Posted
by Davy8
on Stack Overflow
See other posts from Stack Overflow
or by Davy8
Published on 2010-06-12T05:21:13Z
Indexed on
2010/06/12
5:33 UTC
Read the original article
Hit count: 285
The navigation bar on my site http://hungryathome.net doesn't center properly on Firefox and IE8 Standards mode. It centers properly in IE7 Compatability mode and in Chrome.
What's odd is that setting a Margin on the div (id="navlinks") to 4px or more will make it center properly. Any less will result in it being slightly off-center. I changed the values back and forth in Firebug and it's confusing the heck out of me. Any explanation for why that's happening?
© Stack Overflow or respective owner