Hi,
We frequently use the CSS Play basic dd stylesheet and modify it as follows:
.menu {width: as wide as the content width;} - the background color is applied to the individual list items.
Then for the .menu ul li a, .menu ul li a:visited elements we specify a width equal to the .menu width divided by the number of list items, taking into account border widths.
We usually end up with extra space which we correct forby using the :first-child psuedo class to adjust the width of the first list item eg
.menu li:first-child a, .menu li:first-child a:visited{ width: ##px; background-color:blah; }
If you are using a multi-level navigation, this will affect the first-child list items, but you can correct for this using .menu ul li:first-child:hover ul li:first-child a{ width:##px;}
You can also use the :last-child psuedo class, but it is not supported by IE7 or IE8
Sometimes it’s not possible to adjust the width of the first-child li, in that case we use the sibling selector to isolate specific list items, eg:
.menu ul li + li + li a, .menu ul li + li + li a:visited, {width: XXpx;}
which in this case would select the third sibling list item.
Here is a site we are building where we have used these techniques :
http://www.formulafairness.com/
mconsidine