|
To remove the underlines from all links, put this code in the
<HEAD>
| this code | produces this |
<STYLE TYPE="text/css">
<!--
A {text-decoration:none}
-->
</STYLE>
|
this page |
If only a part of your document should be without underlines in the links use a styles class. Use the same code as above, but add
.nounderline before the
A:
<STYLE TYPE="text/css">
<!--
.nounderline A {text-decoration:none}
-->
</STYLE>
Then you can use the class in any section of the document. For example, this code uses <DIV ...>nounderline class:
<DIV CLASS="nounderline"> <UL> <LI><A HREF="nounexatarget.html" TARGET="_top">this is a link</A> <LI><A HREF="nounexatarget.html" TARGET="_top">this is another link</A> <LI><A HREF="nounexatarget.html" TARGET="_top">and this is yet another link</A> </UL> </DIV>
which gives us this:
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.