Ah CSS. Thanks. I use

mainSaved: "",

[[StyleSheet]]
#messageArea {
  position:absolute;
  top:0;
  right:-5px;
  min-width:16px;
  min-height:16px;
  background: url("i/save.gif") no-repeat;
 }

min width is needed so it looks properly on start-up too.

On May 25, 1:16 am, Måns <[email protected]> wrote:
> Hi Sub
>
> > Actually I want to display an icon everytime a back is saved, but
>
> > mainSaved: "<img src='i/save.gif'>",
> > ... How would I do it instead?
>
> Don't know if this will work for your usecase - however you could try
> it out - and adjust the layout to fit your image..
>
> [[StyleSheet]]
>
> #messageArea {position:fixed;
>                 top:0em;
>                 left: 1em;
>                 width: 13.7em;
>                 margin:0em;
>                 padding:0.5em; z-index:2000; _position:absolute;
>                 background: url("i/save.gif") no-repeat;
>                 border: none;
>                 font-family: "Lucida Grande" arial;
>                 font-size: .85em;
>                 -moz-border-radius: 0 0 2px 2px;
>                 }
> .messageToolbar {display:block; text-align:right; padding:0.9em 0.2em
> 0.2em 0.2em}
> #messageArea a {text-decoration:underline;color: #000;}
>
> Cheers Måns Mårtensson

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to