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:33:43 +0100
Message-Id: <>
To: "Manos Batsis" <m.batsis@bsnet.gr>, <www-style@w3.org>
At 17:51 2002-01-31 +0200, Manos Batsis wrote:
>Jeez, ok. This list surely is in pedantic mode today, I don't think that
>forgetting to replace href attributes with events is important here,
>since I am trying to discuss the effect of style and how this is
><?xml version="1.0"?>
><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
><html xmlns="http://www.w3.org/1999/xhtml">
>    <head>
>       <title>
>         Test: Nested elements, :hover pseudo-class
>       </title>
><style type="text/css">
>    </head>
>    <body>
>       <div>outer link, <span>inner link</span></div>
>    </body>
>Now is there someone that is interested in this? I really appreciate
>your concern but don't need xhtml lessons, thank you.

The span should inherit anything from the div that is not set to other 
values in a rule of higher specificy or of the same specificy but declared 
later in the document.

In this case, the span should keep yellow background but inherit color and 

// Liorean
Received on Thursday, 31 January 2002 11:30:54 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:00 UTC