Re: Attribute Comparison Selectors

I think your syntax is probably much better than mine.  I'd be 
inclined to not use the "not equal" operator, preferring to rely on 
the :not() pseudo-class to simplify things...


>I think it is a very good idea, but the syntax is going to be hell. 
>I'd rather boil it down to "lesser than" and "greater than". 
>Remember, more than one attribute selector can be used!
>
>  event[date > "1849"][date < "1914"]:not([date = "1901"]) { ... }
>
>Perhaps even add the "not equal to" operator?
>
>  event[date != "1901"] { ... }
>
>
>I can easily see how this could complicate things, but if executed 
>properly, this could really benefit CSS.
>
>
>Daniel Schierbeck

Received on Tuesday, 21 March 2006 11:05:20 UTC