Forum Moderators: not2easy

Message Too Old, No Replies

links, hover, active, visted ?

Need the 1,2,3 of this..

         

Bowdii

4:11 pm on Aug 21, 2003 (gmt 0)

10+ Year Member



I have done many searchs but have been unsucessful on finding what I am looking for.

What properties do you usually list under each one? I am new to this, so I could be missing something...

size, colour, etc...

Maybe an example of what you usually would do;)

Thanks for any help/comments!

BlobFisk

4:20 pm on Aug 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This really does depend on what you want to change in the links. Most of the attributes will be inherited from the parent, so I just change the colour.

Bowdii

4:35 pm on Aug 21, 2003 (gmt 0)

10+ Year Member



The colour on the hover? I changed the colour on the Visited... and that kinda screwed things up. The colour never changes back..it stays at the visited color.

How would I do a underline on the hover?

Thanks again!

mattglet

4:37 pm on Aug 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



here is a snippet from my WC3 valid css file:

.content { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-weight: normal; color: #000000 }
.content a {color: #4b64e5; text-decoration: none}
.content a:visited {color: #4b64e5; text-decoration: none}
.content a:hover {color: #000000; text-decoration: underline}

hope this helps...

-Matt

pageoneresults

4:37 pm on Aug 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



First, be sure that you have them in the correct order...

link
visited
hover
active

If not, then the effects you are looking for will not work. Active must come after hover.

Example...

a:link{color:#369;background:transparent;}
a:visited{color:#777;background:transparent;}
a:hover{text-decoration:none;color:#000;background:#ddd;}
a:active{text-decoration:none;color:#060;background:#f2fff2;}

Bowdii

6:19 pm on Aug 21, 2003 (gmt 0)

10+ Year Member



Thanks guys! You have been a great help!