Skip Navigation.

NWE Help: Web: Authoring: HTML: Tips: Links

NWE Home :: Help :: Web :: Authoring :: HTML :: Tips

You can remove the underline from your links by using a simple piece of style sheet code.

At the top of your HTML document, right after the <TITLE></TITLE> tag, place the following code:

<style type="text/css">

<!--
A:link {text-decoration: none} 
A:visited {text-decoration: none}
A:hover {text-decoration: none; color: "#5D86C3"}
-->
</style>
This removes all underlines from the links on the page, but makes the color of the link whatever you designate as text color (here it is "#5D86C3"). You can read more about finding the codes for text colors at our Browser-Safe Palette page.