Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q5414 How do I get rid of the underlining of hyperlinks using CSS?

irt.org | Knowledge Base | CSS | Q5414 [ previous next ]

Q5414 How do I get rid of the underlining of hyperlinks using CSS?

The following CSS code will do the trick in external or document-level style sheets:

A { text-decoration: none }

In inline styles, use the following code instead:

<a href="http://www.w3.org/TR/REC-CSS2" style="text-decoration: none">
The CSS2 Recommendation from the W3C</a>

If CSS is supported in your browser, the following link should not be underlined: The CSS2 Recommendation from the W3C


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.