Re: [css-d] syntax for negating

2020-05-22 Thread Georg
... > td:not([class*="chosen"]), ... > td:not([class*="chosen"]) {...} This works perfectly. Thank you so much! Good :) Note how I use the  [class*=  to select "chosen" among a number of classes on same element - my cases are often "crowded" with classes. The "*" is superfluous in cases wi

Re: [css-d] syntax for negating

2020-05-22 Thread Tom Livingston
Georg to the rescue again. As always. On Fri, May 22, 2020 at 11:17 AM Larry Martell wrote: > > On Thu, May 21, 2020 at 7:08 PM Georg wrote: > > > > Den 21.05.2020 23.49, skrev Larry Martell: > > > I have some CSS that looks like this, and I want to change it so that > > > it is not applied to t

Re: [css-d] syntax for negating

2020-05-22 Thread Larry Martell
On Thu, May 21, 2020 at 7:08 PM Georg wrote: > > Den 21.05.2020 23.49, skrev Larry Martell: > > I have some CSS that looks like this, and I want to change it so that > > it is not applied to td's that have the class 'chosen', but I cannot > > figure out the correct syntax. > > The syntax I use for

Re: [css-d] syntax for negating

2020-05-21 Thread Georg
Den 21.05.2020 23.49, skrev Larry Martell: I have some CSS that looks like this, and I want to change it so that it is not applied to td's that have the class 'chosen', but I cannot figure out the correct syntax. The syntax I use for such cases... ... > td:not([class*="chosen"]), ... > td:not(

Re: [css-d] syntax for negating

2020-05-21 Thread Tom Livingston
On Thu, May 21, 2020 at 5:51 PM Larry Martell wrote: > I have some CSS that looks like this, and I want to change it so that > it is not applied to td's that have the class 'chosen', but I cannot > figure out the correct syntax. > > For a simple case this works: > > table:not(.chosen) {color:red;

[css-d] syntax for negating

2020-05-21 Thread Larry Martell
I have some CSS that looks like this, and I want to change it so that it is not applied to td's that have the class 'chosen', but I cannot figure out the correct syntax. For a simple case this works: table:not(.chosen) {color:red;} But for complex ones as below how do i specifhy that? .tables