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
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
On 11/20/04 8:24 PM Lee Underwood [EMAIL PROTECTED] sent this out:
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
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
Erik,
Thanks. It's so simple I couldn't figure it out. I just changed the colors
to what I did want and it worked (Duh!)
Thanks again.
Lee
At 11/20/04 11:44 PM, Rick Faaberg wrote:
On 11/20/04 8:24 PM Lee Underwood [EMAIL PROTECTED] sent this out:
begin code
a:hover {
background-color: