Thank you Brian. This is exactly what I was looking for. Much appreciated!
Some behavior of the @@ is undocumented. I enabled "tiddlywiki/internals", plugin to see the raw HTML. I noticed, if @@background-color: red; is not immediately followed a by newline after the semicolon, then the rule is applied to span element, instead of div. In your solution I noticed if the enclosing <div> is not followed by a newline then the nested rules do not work. I guess @@ parser is particular about newlines and spaces. -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/00a9bded-488d-415e-9bf6-5cdbea6b4157o%40googlegroups.com.