Hi Jeremy and Danielo

Thank you very much :-)

This was one of the features I was hoping to get with tw5 - GREAT !!

Cheers Måns Mårtensson


Den lørdag den 31. maj 2014 22.17.42 UTC+2 skrev Jeremy Ruston:
>
> Hi Måns
>
>  Do you know if it will ever be possible to use tiddler images in a 
>>> class? 
>>>
>> Just by transcluding them in the stylesheet.
>>
>
> > Could you please show me the right syntax for doing that?
>
> Here's how it's done:
>
> .SomeClass{
>     background: url(<<datauri "$:/core/images/home-button">>) center left 
> no-repeat;
>     padding-left: 18px;
> }
>
> The datauri maro is needed to convert the tiddler to base64 and prepend 
> the data URI furniture.
>
> Best wishes
>
> Jeremy
>
>
>
>
> On Sat, May 31, 2014 at 4:23 PM, Måns <[email protected] <javascript:>> 
> wrote:
>
>> Hi Stephan
>>
>>  
>>
>>> Do you know if it will ever be possible to use tiddler images in a 
>>>> class? 
>>>>
>>> Just by transcluding them in the stylesheet.
>>>
>>
>> Could you please show me the right syntax for doing that?
>>
>> I have tried variations like :  
>>
>> .SomeClass{
>>     background: url({{$:/core/images/home-button}}) center left no-repeat
>> ;
>>     padding-left: 18px;
>> }
>>  - to no avail
>>
>> Cheers Måns Mårtensson
>>
>>
>>  
>>>
>>>> Imo hardcoding base64 binary code for images in stylesheets has never 
>>>> been "my cup of tea"
>>>>
>>> Which would be kind of hard-coding.
>>>
>>  -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:[email protected] <javascript:>
>  

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to