Formatting tables

76 views
Skip to first unread message

Jakob Bindslet

unread,
Dec 5, 2015, 1:32:55 PM12/5/15
to TiddlyWikiDev
I am new to TiddlyWiki5 (I used the classic version a while back).

I am looking for a way to create tables, with a black header with light text, and formatting the table with alternating row background colors. Is this possible?

Tobias Beer

unread,
Dec 6, 2015, 7:10:10 PM12/6/15
to tiddly...@googlegroups.com
Hi Jakob,

Sure, just google the desired css and create a stylesheet.
Then apply the corresponding css class to your table.

|myclass anotherClass|k
|foo|bar|

or

<table class="foo">
<$list filter="[tag[bar]]">
<tr>
<td><$view field="title"/></td>
<td>{{!!text}}</td>
</tr>
</$list>
</table>

Best wishes,

Tobias.

Suzanne McHale

unread,
Dec 7, 2015, 12:54:47 AM12/7/15
to TiddlyWikiDev
I did a quick css example at codepen - http://codepen.io/anon/pen/bENGvy - just copy the css, alter it how you want and save it as a tiddler (save as type: text/css otherwise it won't work).
Reply all
Reply to author
Forward
0 new messages