I have the following code in a file:

<begin code>
a:hover {
  background-color: #dedede;
  color: #385468;
        text-decoration: none;
}

#navbar-main a:hover, #navbar a:hover {
        text-decoration: underline;
}
</end code>

The problem is, I don't want the "navbar" rule to inherit the "color" and "background-color" declarations from the previous rule. Suggestions?

Thanks in advance!

Lee

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to