2 replies [Last post]
Chris
Chris's picture
Offline
Regular
Last seen: 16 years 24 weeks ago
Timezone: GMT+10
Joined: 2003-06-10
Posts: 13
Points: 0

does anyone know how to make the link text color fade to another color when hovering over without using javascirpt?

please help!

dJomp
dJomp's picture
Offline
Enthusiast
Last seen: 3 years 42 weeks ago
Joined: 2003-03-23
Posts: 422
Points: 0

css link faadding effect...

If you just want to change the colour:

A { color : #000; }
A:hover { color : #555; }

will do the job.

If you mean a slow fade from one colour to another... then nope, no idea. Javascript seems like the best option.

You know you're a geek when you try to shoo a fly away from the monitor with your cursor.

DJSdotcom
Offline
Enthusiast
Rochester, NY / Chicago, IL
Last seen: 16 years 35 weeks ago
Rochester, NY / Chicago, IL
Joined: 2003-03-23
Posts: 95
Points: 0

css link faadding effect...

Wow, that's so funny you mentioned that... a site I was recently at (I can't remember the link for the life of me) had a great link hover flash/flickering effect, done with very few lines of code.

If I find a link to that site, I'll definitely post it!

-Mike

</twocents>