Click here to Skip to main content
15,880,503 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
i try to write a code
C#
.mannave a:active{
background-color:#ccc;
}


this is just working with internet explore not crom not Firefox not opera
need help ?
Posted
Updated 31-Mar-14 22:25pm
v2

1 solution

Please try is as below.

CSS
a:active{
background-color:#ccc;
}


LIVE DEMO : JSFiddle

NOTE: The :active selector is supported in all major browsers.

Check here for more info : :active
 
Share this answer
 
Comments
irfanansari 1-Apr-14 5:13am    
Dear Sir Sorry this is already i have tried this is not working on crom fire fox opera just working on internet explore
Sampath Lokuge 1-Apr-14 5:39am    
Can't be.Can you share the url which you're testing or full code snnipet ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900