How do I remove the underline that you get when making a hyperlink?

liunx

Guest
Whenever I create a hyperlink, I always get a underline under the text. This is kinda annoying and I was wondering if someone here can give me the code to remove it? A friend gave it to me before but he no longer remember how to do it. Thx for the help.<!--content-->You use CSS... Add this code to your <head><br />
<br />
<style type="text/css"><br />
a:link, a:visited, a:active, a:hover<br />
{<br />
text-decoration: none;<br />
}<br />
</style><!--content-->Originally posted by pyro <br />
You use CSS... Add this code to your <head><br />
<br />
<style type="text/css"><br />
a.link, a.visited, a.active, a.hover<br />
{<br />
text-decoration: none;<br />
}<br />
</style> <br />
<br />
Uh, I just added the code and it doesn't work. Am I doing something wrong? I just copy and paste the code and put it under <head>.<!--content-->oops. Sorry, the .'s should have been :'s. I edited to fix.<!--content-->Originally posted by pyro <br />
oops. Sorry, the .'s should have been :'s. I edited to fix. <br />
<br />
Excellent...Its working great, thx again ;).<!--content-->
 
Back
Top