How do you 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>
Back
Sponsored links
ASP.NET 3.5 Hosting on Windows 2008!
ASP.NET 3.5/2.0 Hosting on Windows 2008 & 2003! AJAX, LINQ, & Silverlight Ready! 3 Mo. Free!!
ASP.NET 3.5/2.0 Hosting on Windows 2008 & 2003! AJAX, LINQ, & Silverlight Ready! 3 Mo. Free!!
Build IT Knowledge with Current & Trusted Content
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.
Check Out IT Certification Preparation Materials
Sign Up With SkillSoft & Get Access to Training Materials for Over 50 Professional Certifications.
Sign Up With SkillSoft & Get Access to Training Materials for Over 50 Professional Certifications.
SFTP components for .NET
Add complete SSH and SFTP support to your .NET framework application
Add complete SSH and SFTP support to your .NET framework application
Experience Adobe? FLASH MEDIA SERVER 3
Introducing the media solution for total action without interruption. TRY IT NOW FOR FREE!
Introducing the media solution for total action without interruption. TRY IT NOW FOR FREE!
