Re: Links and pseudo-classes

On Mon, 14 Jun 1999, Nicolas Lesbats wrote:
> According to the spec, is it true that the following rule
> 	:link:hover, :visited:hover { }
> is illegal?

No, the above is quite legal.

> If true, I agree that allowing some pseudo-elements to be specified
> altogether is necessary !

:link and :hover are psuedo-classes. Some examples of pseudo-elements are
:before, :after :first-letter, and :first-line.

-- 
Ian Hickson
: Is your JavaScript ready for Nav5 and IE5?
: Get the latest JavaScript client sniffer at 
: http://developer.netscape.com/docs/examples/javascript/browser_type.html

Received on Monday, 14 June 1999 16:22:25 UTC