--- On Tue, 1/26/10, shumdesign <[email protected]> wrote:
> I want to have the main menu items space out evenly across the 620px
> menu bar, how do you mark that up and keep the submenus in the right spot? >
> Can I use percentages to do this?
.sf-menu { width: 100%; }
.sf-menu li { width: 20%; }
will do it for you. You might also want to size the submenus to match. And the
first menu item's text will wrap (under my font), which you could avoid in some
cases by decreasing the padding, although this will always be a problem for
some viewers if you fix the width of each item.
- Bobby
______________________________________________________________________
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/