You could use something like

#navbar-main a:hover, #navbar a:hover {
 text-decoration: underline;
 color: #------;
 background: #------;
}

if you just want to color the links -- since it's more specific than just the 'a' rules, it should take precedence (at least it should, I haven't tested this particular example).

Cam

On 21/11/2004, at 3:29 PM, Jonathan T. Sage wrote:

can you simple redifine them with the color and background they should have?

not sure your specific instance...  more information might lead to a
better way to do exactally with your looking for

~j



On Sat, 20 Nov 2004 23:24:54 -0500, Lee Underwood <[EMAIL PROTECTED]> wrote:
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
******************************************************




--
Jonathan T. Sage
Theatrical Lighting / Set Designer
Professional Web Design

[HTTP://www.JTSage.com]
[HTTP://design.JTSage.com]
[EMAIL PROTECTED]
[See Headers for Contact Info]
******************************************************
The discussion list for  http://webstandardsgroup.org/

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




****************************************************** 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