Thierry Koblentz wrote:
: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.
Also, I'd use :active on top of :focus as I think :focus does not work in IE
6.
--
Regards,
Thierry
www.tjkdesign.com | www.ez-css.org | @thierrykoblentz
:active is treated as :focus in IE7 and earlier versions. IE7- does
not have :active state.
<http://css-class.com/test/css/selectors/pseudo-class-active-focus.htm>
This test shows the problem that WebKit has with :focus when selecting
a link with the mouse. Tabbing works.
The reverse is true with :active. The test shows that WebKit does not
show :active when tabbing. Selecting a link with the mouse works.
--
Alan http://css-class.com/
Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
______________________________________________________________________
css-discuss [[email protected]]
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/