View Full Version : How do you change the underline color on the a:hover without changing the text-color?


iTom
05-16-2005, 06:37 PM
does anyone know how you change the underline color when you hover over a link, without changing the text color?

thanks in advance

kittycat
05-16-2005, 09:43 PM
a:hover { text-decoration: none; border-bottom: 1px solid #FF0000; color: #00FF00; }

iTom
05-17-2005, 06:07 PM
that did work :)

but:
when I tried it, the underline (or border) was a little lower. but it doesn't matter, it works, and i'm sure i can make it work better to suit my needs. :)

thanks :)