Previous Message
Next Message

[css-d] Pseudo class

Sent by Kauler, Leto S on 24 January 2002 18:06


G'day all

I have a question about link presentation pseudo-classes. On the W3.org page
(http://www.w3.org/TR/REC-CSS2/selector.html) they show the following example:

A.external:visited { color: blue }

The :visited class the last part of the selector. Now since this is from The Standards I follow
this, but quite often I am finding sites using:

A:visited.external { color: blue }

! Does anyone know where this syntax has risen from. It does seem to work in browsers... but is it
"legit"?

-- Leto
Previous Message
Next Message