Home › Forums › CSS › How to solving : CSS selector “:active” not working ? › Re: How to solving : CSS selector “:active” not working ?
July 15, 2012 at 7:07 am
#106136
Participant
JuanLie, you really need to better explain the problem and give some code or link.
I’ll take a guess and assume you think that the active psuedo class should work for navigation when on a certain page – it doesn’t. Active is when the link or element is actually being selected, like when you’re mouse clicking on a link.
If this is true, then simply use php to add an active class to the link or div in question