<html>
<body>
<a href="http://www.java2java.com" style="text-decoration: none">
Eliminate the standard underline.
</a>
<hr>
<p id="myT">Text sample.</p>
<input type="button"
value="decoration:lineThrough"
onclick="myT.style.textDecoration = 'line-through'">
<input type="button"
value="decoration:overline"
onclick="myT.style.textDecoration = 'overline'">
<input type="button"
value="decoration:underline"
onclick="myT.style.textDecoration = 'underline'">
<input type="button"
value="decoration:none"
onclick="myT.style.textDecoration = 'none'">
</body>
</html>
|