Thank you Eric and Mat! Exactly what I needed.

On Sunday, 1 August 2021 at 16:05:00 UTC+1 Mat wrote:

> @Eric - Ah, OK. I have never considered the possibility to use html tags 
> inside a stylesheet. Interesting.
>
> BTW, would it be inappropriate to use the <style>...</style> inside a 
> listwidget, i.e to generate listblocks not inside a full stylesheet? I have 
> used this technique successfully but maybe there are some great costs that 
> I'm not aware of (other than the usual objections to use styleblocks 
> instead of stylesheets).
>
> Thanx
>
> <:-)
>
> On Sunday, August 1, 2021 at 1:20:29 PM UTC+2 Eric Shulman wrote:
>
>> On Sunday, August 1, 2021 at 3:43:24 AM UTC-7 Mat wrote:
>>
>>> I think there's a typo in Erics neat solution, i.e it should be 
>>> <style>...</style>, not <div>...</div>
>>>
>>
>> Nope.  The code I supplied *goes in a tiddler tagged with 
>> $:/tags/Stylesheet*.
>>
>> Thus, it *should not have <style>...</style> tags*, and the 
>> <div>...</div> is merely so that
>> when you view the stylesheet tiddler, the CSS rules will be displayed on 
>> separate lines
>> for better readability.
>>
>> -e
>>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bb7be716-d2db-43c4-bda7-11c210b051c8n%40googlegroups.com.

Reply via email to