New psuedo-class modifier: A:current

  I'm authoring a web site that uses a common navigation element, a block of
links on the left of the page. While I experiment with getting that alone to
work using CSS positioning on multiple browsers, I've found a number of
issues that I thing CSS could address better. So without any further ado...

  I would like to recommend the addition of the psuedo-class :current to be
used with the A tag.

  We currently have the useful A:link and A:visited, along with the suspect
(IMHO) A:active. I state that the later is suspect not because it doesn't
work, but because it seems to exist solely because it was pre-defined in a
browser - the actual style that it represents is odd, "the style of the link
while the mouse is held down on it but before you let go of the mouse
button" (I paraphrase, of course).

  So we have a style for links to other pages, and one for pages we've been
to. Ok, where's the style for the page we're currently viewing? This seems
like an obvious oversight to me.

  As a result, there's no simple way (as this newbie sees it) to create a
single navigation element with links to various pages, without hand-styling
the links for every single page to point out which one is currently active.
The addition of A:current would allow this common chore for basically zero
effort pn the author's part.

Maury

Received on Friday, 25 August 2000 19:18:48 UTC