Forum Moderators: not2easy
It's fine in IE and fine in both browsers when the content div is taller that the menu. Weird!
Any ideas?
<No URLs, thanks. See TOS [WebmasterWorld.com] and CSS Forum Charter [WebmasterWorld.com]>
[edited by: SuzyUK at 11:50 am (utc) on Nov. 15, 2004]
Because floats are removed from document flow before being moved in their float direction, they are unable to influence the height of their containing block. This is how float was intended to work in the specs, but IE implements the property wrong and instead automatically encloses a floated element inside it's container. Thus, in IE, your container's height is influenced by the float, but not in Moz/FF.
To force Moz/FF to enclose the floated left div, simply apply a float value to the container itself. Don't forget to give it a width, as well.
cEM