On Saturday, November 3, 2018 at 9:32:17 AM UTC-7, Ste Wilson wrote:
>
> I have the following tddler
>
> $:/Floatleft which contains
>
> img
> {
> float: left;
> }
>
> Tagged as in the title and set as text/css but this seems to apply to all
> img in the tiddlywiki, not just locally to tiddlers with @@.floatleft in
> them.
>
> What am I missing?
>
You need to define a custom CSS class named "floatleft" that has the rule
for images within it... like this:
.floatleft img { float:left; }
Then, to apply the floatleft class to a tiddler containing an image, you
can write
@@.floatleft [img[...]] @@
enjoy,
-e
Eric Shulman
TiddlyTools.com: "Small Tools for Big Ideas!" (tm)
InsideTiddlyWiki: The Missing Manuals
--
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/b184a722-a7db-4bea-8ebf-abc444c9f677%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.