Home › Forums › CSS › CSS Div Width Browser Cross-Compatibility Problem › Re: CSS Div Width Browser Cross-Compatibility Problem
August 27, 2012 at 12:01 pm
#108533
Participant
The #quote div is floating left but hitting a previous float in the menu. You can either add clear: left; to #quote or probably a better fix is to add overflow:hidden; to #menubar (this would prevent floats in any page from hitting the nav).
edit// oh, and the reason it would fail in some browsers but not others is because the height of the li was based on the font-size/line-height of the anchor and not every browser displays the same – some where 1px taller than others. This 1px difference caused the problem.