- From: Alan Gresley <alan1@azzurum.com>
- Date: Mon, 18 Feb 2008 17:04:51 -0700
- To: Boris Zbarsky <bzbarsky@MIT.EDU>
- cc: Daniel Glazman <daniel.glazman@disruptive-innovations.com>, www-style@w3.org
Boris Zbarsky wrote: > > p[class*=""], p:not([class*=""]) {} > > That's equivalent to the selector "p". > > -Boris Correct but which is of greater specificity? div {width: 100px;height:100px;background:red} div[id*=""], div:not([id*=""]) {background:blue} <body> <div id="">....</div> </body> Browsers supporting negation will show a blue box. It's just that Gecko is out on a limb by itself. Alan http://css-class.com/
Received on Tuesday, 19 February 2008 00:05:07 UTC