W3C home > Mailing lists > Public > public-html-comments@w3.org > July 2012

Re: Anchor tags

From: T.J. Crowder <tj@crowdersoftware.com>
Date: Wed, 4 Jul 2012 08:39:00 +0100
Message-ID: <CAH65x-x8Jy-NK=fEPSnSpr5QWDMTtXq9b7dhLD+o32CWJhORnQ@mail.gmail.com>
To: "Shields,Dan" <danshields@advising.ufl.edu>
Cc: "public-html-comments@w3.org" <public-html-comments@w3.org>
Hi,

You're looking for the :target pseudo-selector in CSS3:
http://www.w3.org/TR/css3-selectors/#target-pseudo
--
T.J. Crowder
Independent Software Engineer
 tj / crowder software / com
www / crowder software /com

On 2 July 2012 19:16, Shields,Dan <danshields@advising.ufl.edu> wrote:

>  I think it would be helpful if, when an anchor link is clicked, the
> resulting page’s anchor could be styled to emphasize where on the page it
> is. In other words, clicking on index.html#tag would take you to an index
> page where the Tag section is custom-styled. This would be particularly
> helpful for anchored links near bottom of pages.****
>
> ** **
>
> Thanks.****
>
> ** **
>
> -Dan****
>
Received on Wednesday, 4 July 2012 07:39:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 4 July 2012 07:39:59 GMT