Anthony Baker wrote:
> http://www.coachandgrowrich.net/template_drafts/interior_15july2006.php

> If the width here is specified as 100%, I get the extra margins in 
> IE on the right.
> 
> If I make the width specified as "auto", the margins on the right 
> disappear, but I get either padding or margins appearing at the 
> bottom of each of the <li></li> elements.

IE/win needs its 'hasLayout'[1] trigger for the "block-effect" to work,
but one that doesn't affect 'width'.

This addition will do...

* html body #navcontainer li a, * html body #navcontainer li li a
{width: auto; height: 100%;}

...and you can simplify your styles by deleting the 'width: 100%' and
'corrections for the good browsers' you have now, and just feed IE/win
the 'height: 100%' hack.

regards
        Georg

[1]http://www.satzansatz.de/cssd/onhavinglayout.html
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to