Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

text link-underline apper onMouseOver

Status
Not open for further replies.

kateye

Programmer
Nov 22, 2002
1
0
0
IE
Hi
I am new to javascript, I have text links on my website that css (no underline) is applied to. I need the function to underline the link on rollover. I know its something very simple that I just can't find. Any help would be much appreciated.
Thanks

 
this should do the trick:

a.text:link {color: #ff0000; text-decoration: none}
a.text:visited {color: #0000ff; text-decoration: none}
a.text:hover {text-decoration: underline}


add this to your css.
hope i helped!
-Mon3y is the r00t of all evil and every man needs roots-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top