View Full Version : Text Decoration?


sarah87
04-18-2003, 07:11 PM
I have been workin on my links today, I have this code :
>body bgcolor="FFFFFF" text="FF00FF" link="FF66FF"< (I know the arrows are the wrong way around, it's so i can show u the code ;) ) Anyways, how do I add a text decoration code to this to get rid of th line underneath?

freakEgurl
04-18-2003, 07:27 PM
Add this in between your head tags.


<style type="text/css">
<!--
A:link {text-decoration:none}
A:visited {text-decoration:none}
--> </style>

zangerbanger
04-18-2003, 07:28 PM
you add text-decoration:none into your CSS to get rid of the underline. Normally, the underline shouldn't be there by default unless you put the link in <u> </u> tags, so try checking to see if you did anything wrong.

pb&j
04-19-2003, 12:22 AM
Originally posted by freakEgurl
Add this in between your head tags.
<style type="text/css">
<!--
A:link {text-decoration:none}
A:visited {text-decoration:none}
--> </style>

this may work better...
<style type="text/css">
<!--
a {text-decoration:none;}
-->
</style>

Originally posted by zangerbanger
Normally, the underline shouldn't be there by default unless you put the link in <u> </u> tags, so try checking to see if you did anything wrong.
actually, yes, the default does create the underlines. using the <u> tagset will also create an underline, but links by default, use them too.