W3C home > Mailing lists > Public > www-style@w3.org > January 2002

Re: Behavior of nested Links, pseudos and style

From: Liorean <Liorean@user.bip.net>
Date: Thu, 31 Jan 2002 17:02:03 +0100
Message-Id: <5.1.0.14.0.20020131165702.00b41860@pop3.bip.net>
To: "Manos Batsis" <m.batsis@bsnet.gr>, <www-style@w3.org>
At 12:03 2002-01-31 +0200, Manos Batsis wrote:
>Consider the following fragments of an xhtml document:
>
><style type="text/css">
>a:link{text-decoration:none;}
>a:hover{color:red;text-decoration:underline;}
></style>
>
>And
>
><a href="outer_link">
>   outer link,
>   <a href="inner_link">
>     inner link
>   </a>
></a>
>
>In both Mozilla5 (Gecko/20011120) and IE6, during mouseover events on
>the outer link, only the non inner link changes style.
>
>Is this according to spec?

The specs say that links are not allowed within links...
But from what I can see, yes, (aside from the html) it is correct behavior.

The inner link has the same declaration as the first, meaning that it's not 
inherited from the outer link.

// Liorean
Received on Thursday, 31 January 2002 10:59:25 GMT

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