Change color of link on click

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
asmitacp
Forum Newbie
Posts: 16
Joined: Wed Mar 26, 2008 7:36 am

Change color of link on click

Post by asmitacp »

Whenever we click on link, its color should be changed.


Can anyone help me to find the solution in PHP ???"??

Plz, help me out.....
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: Change color of link on click

Post by Benjamin »

1. Look into onclick events and/or css
2.
Forum Rules wrote: 11. Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.
You may also what to read:
  1. General Posting Guidelines
  2. Posting Code in the Forums
  3. PHP Manual
  4. PHP Tutorials
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: Change color of link on click

Post by JAB Creations »

As requested...

Code: Select all

a:active {background-color: #000; color: #f0f;}
Post Reply