Hi Dave,

If you create a stylesheet containing:


.hcell{
/* compensating the cell padding */
margin:-1px -7px; padding:1px 7px;
background-color: #fef; }

you can use:
|!x|!y|!<div class="hcell">pink</div>|
|a|b|c|

You can then create a macro (Tiddler tagged with $:/tags/Macro) containing:
\define t(class, text)
<div class="$class$">$text$</div>
\end

and use it as:

|!x|!y|!<<t hcell pink>>|
|a|b|c|

Cheers,

Ton

-- 
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/32532f3e-f1c5-403d-a3f9-cec6c374cd4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to