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

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