Page 1 of 1
Change color of link on click
Posted: Sat Mar 07, 2009 5:49 am
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.....
Re: Change color of link on click
Posted: Sun Mar 08, 2009 12:57 am
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:
- General Posting Guidelines
- Posting Code in the Forums
- PHP Manual
- PHP Tutorials
Re: Change color of link on click
Posted: Sun Mar 08, 2009 1:57 am
by JAB Creations
As requested...
Code: Select all
a:active {background-color: #000; color: #f0f;}