Previous Message
Next Message

CSS horisontal menu 100% width?

The following terms have been highlighted: [remove highlighting]

Sent by Zoe M. Gillenwater on 9 February 2007 19:07

Stib AB wrote:
> I want an <ul><li> menu to have 100% width.
> My problem is that it is dynamic numbs of li-items so i cant set a fixed 
> width, I also want the UL to be 100% fluid.
> All li on ONE row, so the li will "share" the 100%


Sounds like you are trying to emulate a table-based layout, which I 
don't advise, but can be done:

What I *do* advise, is letting the content adjust to its content and 
just centering the set of list items in their ul:

If you want to prevent the list items from wrapping to multiple rows and 
generate a horizontal scrollbar instead, you'll probably need to set a 
min-width on your layout in ems.


Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center

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

Message thread: