On Wednesday 2007-04-04 23:09 -0400, Devon Miller wrote:
> If you can list all the possible values of 'id' , then this should work:
> 
> TD[id~="lc110 lc111 lc113"]
> 
> This will match any TD where the id is lc110, lc111, or lc113.
> 
> http://www.w3.org/TR/CSS21/selector.html#q10

No, ~= works the other way around.  TD[class~="numeric"] will match a
cell whose class attribute is "sum numeric irrelevant".  ~= works
just like class selectors, except for any attribute.

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Attachment: pgpOvMnJW8TkI.pgp
Description: PGP signature

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to