You use css the same way as you would in html.

More specifically, make a tiddler with whatever name you want and put this 
css in it:

.alternating-rows tr:nth-child(even) {background-color:white}
.alternating-rows tr:nth-child(odd) {background-color:lightgrey}

give the tiddler the tag $:/tags/Stylesheet and save the tiddler

then using what you have in your post just change the first line to

<table class=alternating-rows>

and it should give the table alternating background colors. You can change 
the background color or add whatever css properties to the even and odd 
rows independently by editing the css.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/aa1d06f2-f038-4951-a358-b9ddd7421e13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to