Previous Message
Next Message

Horizontal navigation with background image & inheritance problem (Driving me mad)

Sent by Jeroen on 14 February 2007 20:08

On 2/14/07, Jeroen [EMAIL-REMOVED]> wrote:

> I think the problem has to do with inheritance, because as you see on
> the test site,
> it works directly under the body statement, but not in the "cnt" DIV.
> If i however add a
> clearfix before (while in the cnt div) it does work. But then margins
> etc are of course reset which is not what i want either.

I finally found the solution although i don't understand WHY this
fixes it. The fix i used
was to add a clear: both; in the container for the menu.

"The clear property sets the sides of an element where other floating
elements are not allowed." However AFAIK i'm not using any floats at
that point. Can anybody please
explain this?


(working: not working:

css-discuss [EMAIL-REMOVED]]
IE7 information --
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Message thread:

Possibly related: