change link color

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
nasir
Forum Newbie
Posts: 5
Joined: Thu Dec 07, 2006 7:36 am

change link color

Post by nasir »

i want to change color of link when i click on that particular link,so user uderstood what link is active
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Post by matthijs »

That's client side. CSS.

Code: Select all

a:link { color: red; }
a:hover { color:blue; }
a:active { color:grey; }
Post Reply