View Single Post
Old 05-10-2009, 04:39 AM   #5 (permalink)
stewart
WebDev'n Beer Drnkn' Fool
 
stewart's Avatar
 
Join Date: Dec 2007
Location: Denver, CO
Posts: 59
Thanks: 2
stewart is on a distinguished road
Default

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 ^
__________________
stewart::howe
Web Developer & Programmer
CelerMedia.Com | iAmStewart.com | CelerLabs.com
Send a message via ICQ to stewart Send a message via AIM to stewart Send a message via MSN to stewart Send a message via Yahoo to stewart
stewart is offline  
Reply With Quote