Click to See Complete Forum and Search --> : underlining links


srimca
01-23-2003, 11:55 PM
i dont want links to be underlined.
how do i set this without changing the IE options.
i want the link to be underlined only when the cursor is placed on it.

khalidali63
01-23-2003, 11:58 PM
Use CSS to get this doen.
<style type="text/css>
a{
text-decoration:none;
}
a:hover{
text-decoration:underline;
}
</style>

Khalid

Red~Ice
01-25-2003, 09:07 AM
i want my link to stop turning purlpe after i click on them... how would i do that?

Stefan
01-25-2003, 11:43 AM
Originally posted by Red~Ice
i want my link to stop turning purlpe after i click on them... how would i do that?

<style type="text/css">
a:link {color:blue;}
a:visited {color:blue;}
</style>

hoonak
01-31-2003, 04:15 PM
greetings,

this is my css, but I am not getting a color change. what am i doing wrong?


A {
font-family: Tahoma;
font-size: 18pt;
line-height: 20pt;
font-style: normal;
font-variant: normal;
font-weight: normal;
text-decoration: none;
color: white;
}
A:hover{color:red;}
A:visited{color:white;}

swon
01-31-2003, 04:41 PM
set A:link instead of A and remember if you clicked the link, it'll be visited an no hover can be done, so I would remove the A:visited.

King Pellinore
01-31-2003, 08:32 PM
so I would remove the A:visitedBetter still, rearrange the order:
A:visited{color:white;}
A:hover{color:red;}
and add an :active statement after as well, for when the user clicks on a link (in a visual CSS browser):A:active {color:yellow;}

hoonak
02-02-2003, 09:44 AM
thanks for all your help. it is now fixed. i must also apologize because this really should have gone into the CSS forum.

mr moose