Joanne wrote:
> http://www.melbournecostumehire.com.au/test/
> 
> In IE6 & 7, the background of this navigation is black. In Firefox & 
> Safari, only the hyperlinks are black background and when they 
> finish, the background color of the rest of the #navigation div is 
> showing as white.

IE/win is "saved" by its 'hasLayout'[1] bug which makes the container
auto-expand, while other browsers need to be told to expand the
container to include its floating children.

Adding...

#navigation {display: table;}

...will solve that by establishing a new block formatting context[2],
which enforces expansion without interfering with the dropdowns.

regards
        Georg

[1]http://www.satzansatz.de/cssd/onhavinglayout.html
[2]http://www.w3.org/TR/CSS21/visuren.html#block-formatting
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to