Try looking on Google my friend!
Hi all
Can anybody tell me how to override the underlining of hyperlinks
Thanks
Try looking on Google my friend!
You can remove or change the underline using the CSS Text-decoration Property
Though its a very bad idea to rely on color alone for links. In any case you should atleast consider to enhance you links with hover effects, and dont neglect the importance of having visited links show in a different color.
Last edited by BlueBoden; 12-18-2008 at 02:23 PM.
a {
text-decoration: none;
}
Yes, you can do it by CSS,it is easy to do so.
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:
For a single suppression of the underline, in your HTML document, include:<STYLE TYPE="text/css">
<!--
A {text-decoration: none}
-->
</STYLE>
A suggestion for CSS enabled browsers which allows normal underlining for unvisited links, and turns off the underlining for visited links:< A STYLE="text-decoration: none"
HREF="CSSFAQs.html">CSS FAQs</A>
<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>
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks