On 5/26/05, Barbara Dozetos <[EMAIL PROTECTED]> wrote:

> Does a:visited override a:hover?

The two selectors you list both consist of a pseudo-class and an
element name. This means they have the same specificity. As a result
it is the order they appear in the style sheet that decides which
overrides the other. The selector specified last overwrites any
properties already specified in the former.

http://www.w3.org/TR/CSS21/cascade.html#specificity


-- 
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to