Overridding a:link

Posted by cinqoTimo on Stack Overflow See other posts from Stack Overflow or by cinqoTimo
Published on 2010-03-24T22:08:31Z Indexed on 2010/03/24 22:13 UTC
Read the original article Hit count: 325

Filed under:

In my main CSS file, I have my a:link selector set to display links in White.

a:link{
color: white;
}

However, I want links in another DIV (.menuItem) to be black.

I am trying

.menuItem a:link{
color: black;
}

can't seem to get it to work, so it's probably wrong..

Can anyone lend a hand on this one?

© Stack Overflow or respective owner

Related posts about css