Sent by Tonico Strasser on 2 December 2003 18:06
Lars Holst wrote:
[...]
> I'd change this:
>
> /* Section 12.2: The A element */
> a:link {}
> a:visited {}
> a:active {}
> a:hover {}
> a:focus {}
> a:focus:hover {}
>
> to
>
> a:link {}
> a:visited {}
> a:hover {}
> a:active, a:focus {}
> a:focus:hover {}
>
> The order of link-visited-hover-active, or LVHA, is the recommended
> cross-browser consistent way of styling the different states.
>
> Combining :active and :focus is optional. I use them as visual guide for
> those who prefer to tab through links rather than use a pointing device. In
> that case, they will have the same function, but different browser
> interpretations - :active for IE, who doesn't understand :focus, and focus
> for Gecko - and consequently you'll also want to style them the same way.
>
Hello Lars,
thanks for your reply. I chanded the order of the link pseudo-classes as
you suggested. I aggree that in most cases grouping would be
appropriate, but I want to leave this decision to the author.
Tonico
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/