View Full Version : underlined links


LindzBeth14
04-27-2003, 10:46 PM
I was wondering how you can take off the underline under a link. I used to know but I forgot and I can't find it anywhere on this site. So if anybody knows please help me. You can either e-mail (Lindsie@redlicorice.zzn.com) me or instant message me on AOL. (LindzBeth14) Thanks

Aprilrenee
04-27-2003, 10:52 PM
just use css.

A:link
{ text-decoration:none; color:#ffffff:}

MaGiCSuN
04-28-2003, 10:44 AM
your signature is way to long LindzBeth, please read the rules

Xiphias
04-28-2003, 12:03 PM
Originally posted by Aprilrenee
A:link
{ text-decoration:none; color:#ffffff:}

it should be

<style type="text/css">
A:link { text-decoration: none; color: #FFFFFF;}
</style>

enter that between your <head> tags

pb&j
04-28-2003, 02:17 PM
Originally posted by Xiphias
it should be

<style type="text/css">
A:link { text-decoration: none; color: #FFFFFF;}
</style>

enter that between your <head> tags

that may have the underlines come back during a visited link. this may be better...

<style type="text/css">
a {text-decoration: none;}
</style>

although that would take off all the underlines on all the links. if the questioner is looking to take it off only one link, the style can be added to the link in question...

<a href="somepage.html" style="text-decoration:none;">
text here
</a>

or it could be put into a class then applied to any specific link...
in the head area...
<style type="text/css">
a.foo {text-decoration: none;}
</style>
later in the body area...
<a href="somepage.html" class="foo">
text here
</a>

LindzBeth14
04-29-2003, 12:12 AM
Thanks for the codes! And sorry about the signature thing! I read the rules but I guess I just forgot about that one! I read them again though and changed my signature!