Not sure what you mean by "tagged as in the title". The title of the 
stylesheet tiddler can be anything.

The styles created in the stylesheet  will apply everywhere. In order to 
make them work only where you want, to have to make the selectors more 
specific.

So if you've tagged things as "FloatLeft" then your style sheet might need 
to look like:

[data-tags *="FloatLeft"] img
{
    float: left;
}

The attribute selector used here is fairly new. There was another way to do 
this in the past. See 
https://tiddlywiki.com/#Custom%20styles%20by%20data-tags for more details.

I might add that "float: left" seems to be a default, but that's another 
issue.

Good luck!
-- Mark




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? 
>
> Thanks. 
> Ste
>
>

-- 
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/91448fd3-47be-4f6b-8ead-25657a6e9e83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to