This topic is 4715 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

hey everbody. Time for another stupid question... i've been using the following tags to create a link without an underline
 <a href="http://www.epochstar.com"><span style="text-decoration: none">big
hats</span></a>

it works in internet explorer, but still shows an underline in netscape. How do I get it so it will show no underline in case?

##### Share on other sites
try:

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

Most browsers apply the underline to the actual anchor element rather than the text node inside (which I think is invalid.. your example shouldn't even work in explorer.)

thanks [smile]

##### Share on other sites
Don't forget to color links different from surrounding text if you remove the underline. It will only make it more difficult to locate it. Also, many sites use colored links with an underline that only appears when the mouse is on it.

• 16
• 9
• 13
• 41
• 15