Re: how to set background color in a table row

522 views
Skip to first unread message

Julio

unread,
Sep 19, 2012, 10:26:47 PM9/19/12
to tiddl...@googlegroups.com
Hello nuvola,

This would be a way:

|!Date|width:50em;!Activity|width:30em;!Note|
|xxx|yyy||
|aaa|bbb||
|>|>|bgcolor(#000000):  |
|ccc|ddd||

It renders a thin dark row.
Now I just wouldn't know what to do to preserve the same line height as the other cells.

Hope this helps

Julio

On Wednesday, September 19, 2012 5:52:03 PM UTC-4, nuvola wrote:
Hi all,
 
I've just started to explore the TiddlyWiki world and I would like to set the background color in a given table row:
 
|!Date|width:50em;!Activity|width:30em;!Note|
|xxx|yyy||
|aaa|bbb||
|>|>||                 <--- here how to set the background color e.g. black for this row
|ccc|ddd||
...
 
I'm trying in different ways ... may I ask you an hint how to achieve that ?
 
Thanks in advance
nuvola

Mark S.

unread,
Sep 20, 2012, 12:53:56 AM9/20/12
to tiddl...@googlegroups.com
Typing any content will make the line regular size.

To get a thinner line you can change the padding to zero: padding(0) or to arbitrarily force the line wider give a bigger number: padding(20px)

Mark

Julio

unread,
Sep 20, 2012, 9:31:55 AM9/20/12
to tiddl...@googlegroups.com
Hello Mark S.,

Thanks for further explaining. I actually forgot about that tidbit.

Have a good one.

Julio
Reply all
Reply to author
Forward
0 new messages