05-10-2009, 04:39 AM
|
#5 (permalink)
|
|
WebDev'n Beer Drnkn' Fool
Join Date: Dec 2007
Location: Denver, CO
Posts: 59
Thanks: 2
|
It's because the "weight" is not greater... or it isn't defined more specifically ? For lack of better description.
Try this :
Code:
div#nav ul li.active
{
color: #000000;
background: #FFFFFF;
}
Notice the div in front of the id selector. This gives this declaration more "weight".
This SHOULD work, and just a note, you can use ul as the "nav" container itself, no need for an extra wrapping div :)
Edit :
Re-read your original post, might have to add an "a" at the end of that ^
|
|
|