Correction: one 'e' less.
Use:
.myButtonClass {
background: lightgreen;
}
On Wednesday, November 19, 2014 9:44:33 AM UTC+1, PMario wrote:
>
> If you have a look at the button widget docs [1], you'll see, that it
> allows you to add a "class" parameter.
>
> eg: <$button message="tm-new-tiddler" param="TemplateTask"
> class="myButtonClass">New Task</$button>
>
> then create a tiddler eg: myStyles and tag it: $:/tags/Stylesheet
> content:
>
> .myButtonClass {
> background: lightgreeen;
> }
>
> have fun!
> mario
>
> [1] http://tiddlywiki.com/#ButtonWidget
>
--
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.