Thanks for the suggestion. I may try that at some point, but I prefer not 
to modify plugin tiddlers if I can avoid it.

After I asked the question, I realized that the tbl-expand feature takes up 
a whole row (turns out it's every even row). In the style I use for the 
dynamic tables, I defined the background-color using tr:nth-child(even) and 
this worked great. Do you foresee any issues with this approach?

Damon

On Thursday, April 15, 2021 at 9:09:51 PM UTC-7 Mohammad wrote:

>
>
> On Fri, Apr 16, 2021 at 3:38 AM History Buff <[email protected]> wrote:
>
>> Hey Mohammad,
>
>
> Hi Damon,
>
>>
>> Once again, I can't say enough about your dynamic tables. I love them!
>>
>> I would like to tweak the styling a bit and can't figure out how to get 
>> what I want. I'm using the tbl-expand feature to see the text area and I'd 
>> like to style that area differently than the rest of the table. I'd 
>> specifically like to change the background color to set it off from 
>> everything else. What is the secret sauce that will allow me to do this?
>>
>
> Shiraz Dynamic table is highly modular. In this case you can edit the 
> $:/plugins/kookma/shiraz/macros/dtables/display-extrecord
> For example to have the yellow background hack as below
>
> \define display-extended-record()
> <td colspan=<<ncols>>  >
>
> to
>
> \define display-extended-record()
> <td colspan=<<ncols>> style="background-color:lightgrey;" > 
>
>  
> Best wishes
> Mohammad
>
>
>
>> Thanks so much in advance!
>>
>> Damon
>>
>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/989618de-9403-434e-9df7-675bdb2673ean%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/989618de-9403-434e-9df7-675bdb2673ean%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5f2e3839-b883-41e0-bc57-377213907ce9n%40googlegroups.com.

Reply via email to