Hi Gerald,

I think you need to create a stylesheet, a tiddler tagged with 
$:/tags/Stylesheet, containing something like:

.Achtung1 {
     color:white;
     font-size: 1.3em;
     font-weight: bold;
     background-color:red;
     width:200px;
     border: 2px solid red;
}

.Achtung2 {
     background-color:#f2f2f2;
     border: 2px solid red;
     padding:20px;
}

And a macro, a tiddler tagged with $:/tags/Macro, containing something like:

\define Achtung(text)
<div class="Achtung1">
[img width=30px [Bilder/UBUNTU-Achtung.png]] ^^Achtung^^
</div>
&nbsp;
<div class="Achtung2">
$text$
</div>
\end

Then you can call your 'warnings' like:

<<Achtung "hier den ACHTUNG-Text eintragen">>

Cheers,

Ton


-- 
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/a1058b1e-c14d-410c-af7a-500f2b6caa9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to