Forums

This topic is locked

hyperlink question.

Posted 29 Sep 2003 14:35:29
1
has voted
29 Sep 2003 14:35:29 leon lee posted:
hey guys =)
how do u get rid of the underline. i hyperlink some words but do not want it to be underlined, and i dun want it to change color once visited. how do i do that?

thanks for your help.

Replies

Replied 29 Sep 2003 15:23:37
29 Sep 2003 15:23:37 Wayne Hultum replied:
You could put this code in the head of your page.

<pre id=code><font face=courier size=2 id=code> &lt; style type='text/css' &gt;</font id=code></pre id=code>
a:visited {color:#000066;text-decoration:none}
a:hover {color:#ff0000;text-decoration:none}
a:link {color:#000066;text-decoration:none}
<pre id=code><font face=courier size=2 id=code> &lt; /style &gt;</font id=code></pre id=code>

or just put

a:visited {color:#000066;text-decoration:none}
a:hover {color:#ff0000;text-decoration:none}
a:link {color:#000066;text-decoration:none}

in a style sheet and put a link to the style sheet in your page

you can change the link color to what you want, if you want it to underline the link change text-decoration to underline

hope it makes sense

Wayne

Reply to this topic