W3C home > Mailing lists > Public > www-style@w3.org > November 2007

Re: Proposal for current Link Pseudo-class

From: Jason CranfordTeague <jason@brighteyemedia.com>
Date: Tue, 20 Nov 2007 18:04:05 -0500
Cc: Public W3C CSS Style Discussion <www-style@w3.org>
Message-Id: <A3F822C8-F430-4483-8612-76B20D5EC452@brighteyemedia.com>
To: David Woolley <forums@david-woolley.me.uk>

On Nov 16, 2007, at 4:54 PM, David Woolley wrote:

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


If it get proposed regularly, then that indicates a strong need for  
something like this.

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

True, but often it is. Although not a perfect solution, I believe it  
will satisfy the needs for a lot of designers, especially if the  
pathing ability is included. I've discussed this proposal with several  
Web designers and all of them immediately saw value in the idea.

>
>
>> 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 Tuesday, 20 November 2007 23:04:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:56 GMT