Forum Moderators: not2easy

Message Too Old, No Replies

how to highlighting hyperlinks

         

portishead

9:57 pm on Dec 25, 2005 (gmt 0)

10+ Year Member



I tried highlighting a hyperlink using a stylesheet, but I am not doing this right. Does anyone know, step-by-step how to create another color when I rollover a hyperlink?

coopersita

10:46 pm on Dec 25, 2005 (gmt 0)

10+ Year Member



It would be something like:

a:link {color: blue; }
a:visited {color: purple;}
a:hover {color: red;}
a:active {color: green;}

Just make sure that they are in that order (link, visited, hover, active), otherwise it may not work as expected.

Also, you can add a background color to make the highlighting more dramatic.

portishead

3:06 am on Dec 26, 2005 (gmt 0)

10+ Year Member



thank you, it worked!