I simply added classes to a custom style sheet, then reference those 
classes in the image.

CSS:

.img-center {margin: 0.5em auto;  display: block;}
.img-left {float: left; margin-right: 0.5em;}
.img-right {float: right; margin-left: 0.5em;}

Image:

[img class=img-right [_images/this.jpg]]


On Tuesday, February 2, 2016 at 4:45:33 PM UTC-6, Senechaux wrote:
>
> "float"ing images with text in TWC was drop-dead easy 
> <http://classic.tiddlywiki.com/#%5B%5BImage%20Formatting%5D%5D>.  Having 
> no luck with TW5.1.11.  Can someone provide a link or post with a way to do 
> this in TW5 using a macro/widget so *float *value can vary with each 
> image?  I like the idea of using image tiddlers (to reference in a macro, 
> for instance) but need the localized float value for each image (or image 
> tiddler) use.
>
> I've read some number of posts (in WikiDev as well) regarding this but 
> haven't found a solution that works and nearly as simple as TWC.
>

-- 
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/1982f39b-7198-4877-9257-a104ec3eaa2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to