Fancy Links?

windows

Guest
hi everyone:)<br />
<br />
<br />
please help.<br />
<br />
I want to know how make a none underline link that when the mosue is placed over (without clicking it) change the color of the text, so you know is an active link...<br />
<br />
actually how to change the color of the little square backgroud of the text when the mouse is placed over (without clicking it) will be good to know aswell.<br />
<br />
i hope you can help me:)<br />
<br />
thank you.<br />
<br />
C.<!--content-->Originally posted by Cindy <br />
I want to know how make a none underline link that when the mosue is placed over (without clicking it) change the color of the text, so you know is an active link... <br />
Did you mean you want an arbitrary text to act like a link text (as in change color when mouse gets over the link)?<br />
<br />
If you want to do the hover effect with links, you can use CSS. The following will go in <head></head> in your document.<br />
<br />
<style type="text/css"><br />
a {text-decoration: none; color: blue}<br />
a:hover {color: red}<br />
</style><br />
<br />
The :hover pseudo-class (thats its official name :)) can't be applied to an arbitrary element**.<br />
-----<br />
<br />
PS:<br />
**: With netscape, :hover works with an arbitrary element, but not with IE<!--content-->
 
Back
Top