The Most Active and Friendliest
Affiliate Marketing Community Online!

“AdsEmpire”/  Direct Affiliate

How to override the underlining of hyperlinks?

A lot of people are interested in suppressing the underline in hyperlinks. Here is a way CSS offers that you can do:

In the <HEAD> section of your HTML document, include the following:
<STYLE TYPE="text/css">
<!--
A {text-decoration: none}
-->
</STYLE>
For a single suppression of the underline, in your HTML document, include:
< A STYLE="text-decoration: none"
HREF="CSSFAQs.html">CSS FAQs</A>
A suggestion for CSS enabled browsers which allows normal underlining for unvisited links, and turns off the underlining for visited links:

<STYLE TYPE="text/css">
<!--
A:visited { color: navy; text-decoration: none; background: transparent;}
A:link { color: teal; text-decoration: underline; background: transparent;}
A:active { color: blue; text-decoration: underline; background: transparent;}
-->
</STYLE>
 
banners
Back