PDA

View Full Version : non underlined link help



marcuscable
February 21st, 2003, 09:42
how do i do this

Cagez
February 21st, 2003, 11:37
If you want it on ONE link, you can add a little style to it like this:


<a href="mylink.html" style="text-decoration:none;">My Link</a>

If you want it across multiple pages and multiple links, add this code to you head:


<style type="text/css">
<!--
a:link.nounder, a:visited.nounder, a:hover.nounder, a:active.nounder, a:focus.nounder { text-decoration:none; }
-->
</style>

And you add "class="nounder"" to your links, like this:


<a href="mylink.html" class="nounder">My Link</a>