Click to See Complete Forum and Search --> : How do I remove the underline that you get when making a hyperlink?


Sgt_Strider
03-20-2003, 06:48 PM
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.

pyro
03-20-2003, 06:52 PM
You use CSS... Add this code to your <head>

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

Sgt_Strider
03-20-2003, 07:08 PM
Originally posted by pyro
You use CSS... Add this code to your <head>

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

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>.

pyro
03-20-2003, 07:12 PM
oops. Sorry, the .'s should have been :'s. I edited to fix.

Sgt_Strider
03-20-2003, 10:06 PM
Originally posted by pyro
oops. Sorry, the .'s should have been :'s. I edited to fix.

Excellent...Its working great, thx again ;).