On Sep 6, 2010, at 12:21 PM, Chip Meyer wrote:

> Working on a simple photo gallery that utilizes the :hover pseudo class, but
> it would be nice if a user could click a thumbnail and have the large image
> stay put. So, I wrapped the images in <a> tags and tried to use :focus, but
> this only worked in Firefox (3.6.8). IE7, Safari 5, Chrome all ignore it,
> even though my research led me to believe all the newer browsers support
> :focus. Can someone let me know what am I doing wrong?
> 
> 
> 
> Links:
> 
> http://www.culturalleadership.org/photogallery/gala/photo-gallery-Gala-2010-
> 01.html

WebKit (I'm not sure about IE) doesn't really set / shift the focus on / to an 
element (link) when the user clicks on it. When the user access the link from 
the keyboard, then the focus _is_ set. 

Philippe
---
Philippe Wittenbergh
http://l-c-n.com/





______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to