W3C home > Mailing lists > Public > www-style@w3.org > August 2004

Re: Nested and non-nested elements: pseudoclasses

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Thu, 19 Aug 2004 08:34:13 +0200
Message-ID: <412449E5.801@annevankesteren.nl>
To: "W. Leon Sutton, Jr." <wsuttonjr@hyponiqs.com>
CC: www-style@w3.org

> Logically speaking, there should be a way to target an element 
> *anywhere* on a page using CSS psuedoclasses, such as
> [snip]
> Why is it that this is not possible?

The above example should work actually. (Maybe the browser didn't render
the incorrect markup as intended and screwed up the DOM therefore.)

> As I understand it, CSS is supposed to be a cross-platform, 
> accessible replacement to JavaScript and DHTML.  Yet, simple tasks as
> this are not possible as they should be.

CSS is part of DHTML.

> *However*, it is possible to apply the same logic to nested elements,
> but it still requires a fair amount of CSS.

I don't understand.

  Anne van Kesteren
Received on Thursday, 19 August 2004 06:34:41 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:07 UTC