On 10/18/07, Gunlaug Sørtun <[EMAIL PROTECTED]> wrote:
>
> Tom Dell'Aringa wrote:
>
> > I thought there was a way to keep the width of the UL static - so yes
> > I'd get a scrollbar if the window sized down that far, but the nav
> > would not wrap. To me that is preferable than having it drop off like
> > that.
>
> You have more or less destroyed all options by setting font-size in
> px...[snip]
>

A more normal, and working, way is to let the anchors and list-items
> resize and expand as/when needed, and let the menu-container - the ul -
> adjust in both width and height to contain the list-items.
> This means: a complete restyle-operation followed by thorough testing.
>
> A start could then be...
>
> ul.mainmenu li a {white-space: nowrap;}
> ul.mainmenu {overflow: hidden; height: auto;}
> * html ul.mainmenu {overflow: visible; height: 1%;}
>
> ...which actually works quite well as an addition/correction to what you
> have, right out of the box. Can't take all that much font-resizing with
> the existing background though.


Yeah I knew the menu had fixed font sizing, I'm willing to live with that
for the moment. Your fix actually makes the wrapping at least look okay.
That will probably have to do for now since I don't have the time to
redesign the whole thing.

Thanks!

Tom
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to