Powered by InterCreatives | Site Map
Search:
NewSourceMedia Popular Tutorials: PHP Javascripts Web Hosting
SoftwareTutorials
CATEGORIES
Job Listings
 
Home / HTML /

Remove Underline-Links

Published by: Alexander Mclean III


There are times when hyperlink-underlines can get in the way. One example is when there is an underscore "_" in your link address (usually an e-mail address), the underline can block the view of this underscore. This will lead some viewers to believe your address contains a space and not an underscore. Here is the code to fix this problem.

For One Link:

The code may look something like this:

<a href="http://www.newflashmedia.com">newflashmedia</a>

Typing in the blue code " style="text-decoration:none" ", will remove the hyperlink underline:

<a href="http://www.newflashmedia.com" style="text-decoration:none">newflashmedia</a>

In order to affect other links repeat the process shown above.

For All Links

To affect all links in an html document, you can add CSS to the header as follows:

<style type="text/css">
a {
text-decoration: none;
}
</style>

 

That's it. Have fun.


If you have any questions, please search or post a question to the forum.You also may want to check out the book below on web development using Macromedia Dreamweaver.


Book
Macromedia Dreamweaver MX:
Training from the Source


Next HTML Page:
[1]  2  3 





Hosting by iPowerWeb.com - 50 Gb for $7.95