> The problem is that stylesheets generated from the stylesheet tiddlers are 
> being added to the DOM in the wrong order, with the base stylesheet going 
> last. That means that rules from the base stylesheet can only be overridden 
> with rules of higher specificity. Adding the html and/or body elements is a 
> simple hack to give the rule great specificity.
>

I think "hack" is the thing I want to emphasise. Getting the css right is 
hard enough as it is and so I hope this is a temporary condition which wont 
last for long. There needs to be a simple way — preferably *one* spot — for 
defining the exact order of execution. Surely, the base needs to run 
*first*.

Although poorly manageable (since you need to edit the actual StyleSheet 
tiddlers), *getRecursiveTiddlerText() *from TWC provides some more 
specificity in terms of execution order, even modular nesting.

I guess eventually some sorting of the tagging order of those stylesheet 
tiddlers and the convention that base + theme run first will be the 
solution.

Tobias.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to