views:

534

answers:

1

Exact Duplicate of

http://stackoverflow.com/questions/994208/css-help-making-menu-fluid

The menu works fine with fixed width but I would like the words to wrap ONLY on the top menu categories. I need to be able to have n categories and have the width be evenly distributed. Obviously n would be within reason (I am not going to have 50 categories) but I need to be able to add more and not worry about hitting my width limit.

Thanks for any help.

Link:

http://www.seth-duncan.com/Test/TestMenu.html

+2  A: 

and have the width be evenly distributed

Only tables (or CSS display:table) will give you this behaviour unless you calculate widths with JS (not easy or ideal).

SpliFF