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 and making all dimensions in the menu depend on fixed dimensions, as that means it's impossible to calculate a 'width' for the ul that'll work across browser-land and browser-options. Anyway, declaring a 'min-width' and/or a 'width' on the ul is the only option left, but I can not come up with a value that'll work in all browsers since they react differently on that font-size and the fixed dimensions. 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. regards Georg -- http://www.gunlaug.no ______________________________________________________________________ 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/