W3C home > Mailing lists > Public > www-style@w3.org > June 2012

Re: Clickable area for hyperlinks

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Thu, 14 Jun 2012 19:37:33 +0200
Message-ID: <4FDA215D.9000205@kozea.fr>
To: www-style@w3.org
Le 14/06/2012 19:06, Boris Zbarsky a écrit :
> If you want browser-compatible behavior, you really want multiple
> rectangles.  Consider this:
>
>
>     <a href="something">
>       <span style="position:absolute;
>                    /* stick it somewhere */">
>         Text
>       </span>
>       <span style="position:absolute;
>                    /* stick it somewhere else */">
>         More text
>       </span>
>     </a>

Internally this is implemented in the UA stylesheet with a prefixed 
property:

a[href] { -weasy-link: attr(href) }

Just making it inheritable should do the trick.

Thanks,
-- 
Simon Sapin
Received on Thursday, 14 June 2012 17:38:05 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:55 GMT