Google Analytics

Pages

Monday, August 29, 2005

a:active in firefox

Just a quick one because I don't find it well documented. for those who are struggling making a:active to work with firefox, use a:focus instead.

More readings about this issue here: http://www.w3.org/TR/REC-CSS2/selector.html#dynamic-pseudo-classes

8 comments:

Anonymous said...

you have no idea the frustration you have just relieved

Emmanuel Idé said...

Happy to hear that it helped someone!

Andrés Richero said...

thanks for your post, really helped

Anonymous said...

that rules! Many thanks!

TTY said...

3.5yrs after you wrote this, it's still helping people stay sane :) Thanks loads, was really tearing my hair out over this.

Matthew said...

haha,

make that nearly 5 years!!

genius

anna_2010 said...

Interestingly, a:active worked for me in firefox. However it's a:visited that I am trying to fix.

Is there an alternative for that one?

Thanks for the post!

emmanuel Idé said...

HI Anna,

I am not aware of any issue with a:visited. Your CSS could be faulty, and you may want to check that your pseudo classes are declared in the right order: see http://www.w3schools.com/CSS/css_pseudo_classes.asp

Share it