Running into issues on IE 7 with :active CSS pseudo class

1 view
Skip to first unread message

Warren Chu

unread,
May 5, 2008, 4:34:29 PM5/5/08
to Refresh Austin
On my test site: www.zhaoshouren.com I've got some <a>nchors with
nested <span>s. For some reason the :active pseudo class isn't being
triggered on mouse down. I don't run into any issues in Safari and
Firefox nor do I see this issue with a nested <image> within the
<a>nchor. Tabbing triggers the :active just fine so it really seems to
be an issue with nested <span>s within an <a>nchor.

Anyone know of a work around? I'm not overly concerned since
functionality isn't compromised. The affected <a>nchors work fine and
I don't run into any issues with :hover.

Alex S. Jones

unread,
May 5, 2008, 5:43:11 PM5/5/08
to Refresh...@googlegroups.com
You may want to specify the same styles for :focus as you did
for :active. Not sure if it'll do the trick, but it might.

Cheers,

Alex Jones
www.SilverSpider.com

Warren Chu

unread,
May 6, 2008, 1:55:59 PM5/6/08
to Refresh...@googlegroups.com
I hadn't tried that yet since I was using :focus to do the same thing as :hover for keyboard users in Safari and Firefox, so I went ahead and changed :focus to the :active style in the conditional IE 7 stylesheet. It was a good idea, but it didn't resolved the issue unfortunately.
--
Warren
Reply all
Reply to author
Forward
0 new messages