[thelist] horizontal menu and IE6

Roel Mulder roel.mulder at gmail.com
Wed Oct 15 16:03:24 CDT 2008

Thanks Georg,
Are you able to check if it works now? Your code suggestion was added,
but I not have IE6 around at the moment to see for myself.


On Wed, Oct 15, 2008 at 10:31 PM, Gunlaug Sørtun <gunlaugs at c2i.net> wrote:
> Roel Mulder wrote:
>> There is this CSS thing I just can't grasp. We put a site together
>> today, which features a horizontal menu. Only in IE6 the buttons
>> spread to full width, and underneath each other.
>> url: http://helen.mta.nl/
> The float-width is pushed to full ul-width because of the 'display:
> block' declared on its content - the anchor - pushes outwards.
> Since you need the 'display: block' declaration for other browsers, the
> easiest solution is to add something like...
> * html #navcontainer ul li {width: 3em; white-space: nowrap;}
> ...which works with such a small width-value because IE6 auto-expands
> too small elements to the width of their content - the 'auto-expansion
> bug' - and the anchor-text can't wrap.
> regards
>        Georg
> --
> http://www.gunlaug.no
> --
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !

More information about the thelist mailing list