Re: Proposal for current Link Pseudo-class

Jason Cranford Teague wrote:
> *CSS 3 Recommendation*
> *Current Link Pseudo-class Selector*

Except that the path component count is novel, this gets proposed at 
regular intervals.

> conveniently style a link based on the clients current URI in order to 

Which URI?  The basic problem is that a page often has more than one URI 
and the one that is in the address bar is not necessarily the one that 
is used in links within the page.

> current URI, but also style links based on directory level. 

Only some types of URI are hierarchical.  Of those, only some use "/" as 
a hierarchy level delimiter.  For http: scheme URLs, the path components 
don't necessarily represent directories (and, unfortunately, there are a 
lot content management systems that produce completely flat structures).


-- 
David Woolley
Emails are not formal business letters, whatever businesses may want.
RFC1855 says there should be an address here, but, in a world of spam,
that is no longer good advice, as archive address hiding may not work.

Received on Friday, 16 November 2007 21:54:42 UTC