underlining links

liunx

Guest
i dont want links to be underlined.<br />
how do i set this without changing the IE options.<br />
i want the link to be underlined only when the cursor is placed on it.<!--content-->Use CSS to get this doen.<br />
<style type="text/css><br />
a{<br />
text-decoration:none;<br />
}<br />
a:hover{<br />
text-decoration:underline;<br />
}<br />
</style><br />
<br />
Khalid<!--content-->i want my link to stop turning purlpe after i click on them... how would i do that?<!--content-->Originally posted by Red~Ice <br />
i want my link to stop turning purlpe after i click on them... how would i do that? <br />
<br />
<style type="text/css"><br />
a:link {color:blue;}<br />
a:visited {color:blue;}<br />
</style><!--content-->greetings,<br />
<br />
this is my css, but I am not getting a color change. what am i doing wrong?<br />
<br />
<br />
A {<br />
font-family: Tahoma;<br />
font-size: 18pt;<br />
line-height: 20pt;<br />
font-style: normal;<br />
font-variant: normal;<br />
font-weight: normal;<br />
text-decoration: none;<br />
color: white;<br />
}<br />
A:hover{color:red;}<br />
A:visited{color:white;}<!--content-->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.<!--content-->so I would remove the A:visitedBetter still, rearrange the order:<br />
A:visited{color:white;}<br />
A:hover{color:red;}<br />
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;}<!--content-->thanks for all your help. it is now fixed. i must also apologize because this really should have gone into the CSS forum.<br />
<br />
mr moose<!--content-->
 
Back
Top