Now if I put this in a tiddler tagged $:/tags/Stylesheet it is applied to all my tables. So I need a custom class. Can I do this for the whole stylesheet and apply it to the WikiText table with a ‘k’ flag or do I need a separate style for each element?
but, generally, yes the definitions you give in your post apply to all tables because you use the general elements used in tables (table, td, etc) so what you want to do is define special classes and apply them to your table. For example, if it concerns all td elements, you can add your class like so .mytable td {background:red}
Not really. I looked at that page. It hints you can create your own classes with myclass and anotherClass but the goes on to describe the predefined Utility Classes. Eric’s solution fills the gap. Thanks.