W3C home > Mailing lists > Public > www-style@w3.org > July 2002

Re: a:hover and a:active and named anchors

From: Jerry Baker <jerrybaker@attbi.com>
Date: Thu, 25 Jul 2002 15:40:06 -0600
Message-ID: <3D407036.90303@attbi.com>
To: www-style <www-style@w3.org>

Boris Zbarsky says:
>> Although I might be ignorant of some other purpose of which I haven't 
>> thought, why can't named anchors be specifically excluded from :hover 
>> and :active?
> Because CSS is markup-language-independent and thus has no concept of a
> "named anchor".  All it knows is that there is a <a> element.  Any other
> semantics are attached to the <a> by the document language, which
> happens to be HTML in this case.
> Keep in mind that CSS is not an adjunct to HTML but an adjunct to
> XML-based markup languages in general.
> Boris

So instead of saying something like named anchors can't have :hover and 
:active states, why not something like invisible and non-structural 
elements cannot have :hover and :active states?
Received on Thursday, 25 July 2002 17:40:08 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:02 UTC