Hi Eric,

works great for me too. Can now show a background with subtle color like: 
#f9fff9
Is it possible BTW to use in any way such color hex codes right away 
instead of
referring to a jpg- tiddler?

Thanks again eric!
Salut! Ed.
======


Op maandag 11 april 2016 07:38:10 UTC+2 schreef Eric Shulman:
>
> On Sunday, April 10, 2016 at 8:41:56 PM UTC-7, Dave wrote:
>>
>> I'd like to have either an image, or different color or texture in the 
>> tiddler background (independent of the main background),
>> preferrably on a tiddler by tiddler basis (i.e. based on the tag of the 
>> tiddler), or if that doesn't work, all tiddlers.
>>
>> Is this possible?  I was surprised to come up empty on a search for 
>> "tiddler background image"
>>
>
> You can define a ".tc-tagged-..." class to set the background CSS 
> attributes.  For example, create a tiddler, tagged with $:/tags/Stylesheet, 
> containing:
>
> .tc-tagged-jack {
>     background-image: url(<<datauri "Motovun Jack.jpg">>);
> }
>
> and then create a tiddler tagged with "jack".  This tiddler will 
> automatically get a class of "tc-tagged-jack" applied to it by the TWCore 
> and, due to the CSS rule defined above, the tiddler's background will show 
> "Motovun Jack.jpg".... Q.E.D.
>
> enjoy,
> -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 [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/f7bd4dd3-cea8-4fa0-b2ac-0949e07227b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to