|
Tailslide -> RE: Firefox Problem (5/13/2008 9:22:40)
|
Hi It's not just Firefox (I know I'm being picky - but it's worth checking in Opera too just to see if it's really a FF problem or if it's an IE problem - if you see what I mean!). The problem is that IE incorrectly expands divs to surround floats. Firefox, Opera etc don't. So when you get what looks like a collapsing div - it's usually because that div only contains floats and therefore, as far as the browser is concerned, has no height (or just has the height of the non-floated contents). To get around this you've got a few choices. Either have some content after the floats clearing them - this will force the containing div to see the floats or, and probably easier is to add "overflow:hidden" to the containing div (your top_Navigation rule) that sorts it. Do make sure you check that this doesn't have any nasty side effects in older browsers - sometimes IE5 misbehaves with overflow:hidden.
|
|
|
|