and it is formatting the tables (<table>) like that : the 1st, 3rd, 5th, etc rows have red background which is in some cases OK and I don’t want to change them. BUT, in some cases I want simple tables with WHITE background but I’m simply stupid to create a css rule for that… :injured:
Have tried
and several similar ways… the table doesn’t listen to all those rules I created, it simply have the bloody RED background… I can’t get rid of it. PLZ someone help me…
Looks like that should work, as long as you have class=“white” on the relevant tbody element.
However, rather than apply a row color to all tables and then try to remove it again, I’d probably add a special class to the original rule, and then apply that class to any table that does have colored rows. Then you don’t need a special rule at all for those tables that are just white.