Gunlaug Sørtun wrote:
> In CSS, yes...
>
> http://www.w3.org/TR/css3-selectors/#negation
Quoting the cited document:
"This is still a draft document and may be updated, replaced, or
obsoleted by other documents at any time. It is inappropriate to cite a
W3C Working Draft as other than "work in progress"."
> h1:not([style]) {color: red;}
>
> ...will "color" all h1 that do *not* contain a style attribute "red"
> in all CSS3 capable browsers.
Quoting the cited document:
"The CSS Working Group doesn't expect that all implementations of CSS3
will have to implement all selectors."
> But in IE, no luck this decade, it seems.
So :not is not a practical thing to use, except in the rare cases where
it does not matter that it usually doesn't work.
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/