- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
How do I remove the underlines from links
November 15, 2010
Q: How do I remove the underlines from links while working with HTML files?
A: This can be done with a CSS declaration of text-decoration: none. Place this code (with your color choices) above the closing </head> tag in your HTML document. This code demonstrates the removal of the underline on hover. Remember, hover is maintained by I.E. only.
<style type=”text/css”>
<!–
a:link { color: #CC00CC}
a:visited { color: #CCCCCC}
a:hover { color: #0000CC; text-decoration: none}
a:active { color: #CC3333}
–>
</style>