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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

simple question

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
can somebody tell me a script i can use to have text underlined on mouseover? thanks.
 
This is one way...

Code:
<html>
<head>
<style type=&quot;text/css&quot;>
.mOver{text-decoration:underline}
.mOut{text-decoration:none}
</style>
<body>
<h3 onMouseOver=&quot;this.className='mOver'&quot; onMouseOut=&quot;this.className='mOut'&quot;>Mouseover this</h3>
</body>
</html>

Use any of the H tags (or use just about any other formatting tag) for this.

Hope it helps, [sig]<p>Rob<br><a href=mailto:robschultz@yahoo.com>robschultz@yahoo.com</a><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
"Focus on the solution to the problem,<br>
not the obstacles in the way."<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top