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

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 25 Jul 2002 17:28:53 -0400
Message-Id: <200207252128.RAA00488@no-knife.mit.edu>
To: Jerry Baker <jerrybaker@attbi.com>
cc: Stuart Ballard <sballard@netreach.com>, www-style <www-style@w3.org>

> 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.

    "What the hell are you getting so upset about?  I
thought you didn't believe in God."
    "I don't," she sobbed, bursting violently into
tears, "but the God I don't believe in is a good God, a
just God, a merciful God.  He's not the mean and stupid
God you make Him out to be."

                     --Joseph Heller, "Catch-22"
Received on Thursday, 25 July 2002 17:29:01 UTC

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