<a href="http://www.epochstar.com"><span style="text-decoration: none">big
hats</span></a>
[web] link underline
hey everbody. Time for another stupid question...
i've been using the following tags to create a link without an underline
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?
try:
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.)
<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.)
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement