Sent by Roger Roelofs on 3 December 2005 03:03
Dova,
On Dec 2, 2005, at 5:00 PM, Dova Wilson wrote:
> 1. Background color not extending full length of NAV div (white gap
> on the far right)
You need to either float #nav ul or add a clearing element after the
final </ul> but before the </div> Currently the #nav and #nav ul are
collapsing down to nothing because all the li are floated and therefore
don't take up any space in the container. Then add the bg color to the
container (If you float the container you will need to set a width of
100%). like so
#nav ul {
float: left;
background-color: #435a72;
width: 100%;
}
> 2. Hover/gold color sticking out farther than width of navigation
> item (yes, I changed some width settings-something isn't working)
Remove the width from #nav a. The padding is _added_ to the width if
one is specified.
> SEE WEBSITE at http://www.gwvirginia.gwu.edu/newsite/3coltest5.htm
> CSS: http://www.gwvirginia.gwu.edu/newsite/3coltest5.css
hth
Roger,
Roger Roelofs
"Remember, if you’re headed in the wrong direction,
God allows U-turns!"
~Allison Gappa Bottke
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/