Hi Mark,
For Stephan's first option see [1]
Create a tiddler, tagged with $:/tags/Styleheet containing:
.tc-tagged-test {
color: red;
background-color: AliceBlue;
}
All tiddlers tagged with 'test' will be styled accordingly (background for
total tiddler!).
For Stephan's second option try:
@@color: red;
@@background-color: AliceBlue;
<div>
content
...
content
</div>
@@
Note:
* background just for the text
* the empty lines after <div> and before </div> are required
Hope that helps.
Cheers,
Ton
[1] http://tiddlywiki.com/#TiddlerWidget:TiddlerWidget
On Tuesday, September 30, 2014 4:21:21 PM UTC+2, Mark S. wrote:
>
> Hello,
>
> I don't understand the first approach you suggest. If there is a way to
> specify a class by tag I couldn't find it at tiddlywiki.com.
>
> The second method, surrounding the content with <DIV> tags doesn't work
> because all the paragraph information is lost and everything is run
> together. You can put <DIV> inside of @@ and then you have background and
> paragraph formatting, but other CSS settings like "margin" are ignored.
>
> Thanks,
> Mark
>
> On Monday, September 29, 2014 10:03:40 PM UTC-7, Stephan Hradek wrote:
>>
>> Give the tiddler a tag and you have a class label "tc-something-class"
>> (or so - too lazy to look up).
>>
>> You can as well st a div around your tiddler having whatever style you
>> want:
>>
>> <div class="myclass">
>>
>> content here
>>
>> </div>
>>
>>
>>
>> @Jeremy: I seem to remember that we discussed (long, long time ago) about
>> @@ creating a div.
>>
>
--
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.