Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

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

You are here: irt.org | FAQ | CSS | Q5414 [ previous next ]

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

©2018 Martin Webb