>I am trying to make a horizontal menu using lists. The problem I am
>having is when the text of my link is very long I would like to wrap
>this onto 2 lines. Essentially set a maximum width for the item. I have
>been unable to find a way of doing this that works on all modern
>browsers.
>
>Could someone perhaps post a code snippet or point me in the direction
>of a site that uses this.
Something as simple as this should work
#yourhorizontalmenu li
{
float: left;
width: 120px;
}
Though obviously, you'll probably want to be removing the bullets
http://pix.cloudband.com/alex/csstest/InlineListDoubleLines.html
and maybe do a bit more still
http://pix.cloudband.com/alex/csstest/InlineListDoubleLinesRiff.html
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/