Forum Moderators: mack

Message Too Old, No Replies

Changing the color of the "text-decoration: underline;" when hovering

         

ExtremeExports

6:11 am on Jan 21, 2003 (gmt 0)

10+ Year Member



Is it possible to change the color of the underline when hovering style tag in the style sheet. (Example: text remains blue when hovering but the underline is red. Before hovering the text-decoration would be none.) Boy that sounds pretty confusing. I understand what I mean, I hope someone else does, too. But, I am really doubting that right now. Can anyone help?

bill

6:20 am on Jan 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I don't think you can change the underline color independent of the text color. However, you might be able to change the bottom border color to make it look different on hover.

ExtremeExports

6:21 am on Jan 21, 2003 (gmt 0)

10+ Year Member



Okay, how do I do this?

bill

6:26 am on Jan 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Something like this would probably work:

a:hover{
[b]border-bottom[/b]:2px #9cf solid;
}

ExtremeExports

7:05 am on Jan 21, 2003 (gmt 0)

10+ Year Member



Thanks Bill,
It worked. :-)
Petra