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.

Best wishes

Jeremy


On Sat, Sep 28, 2013 at 12:14 PM, Tobias Beer <[email protected]> wrote:

>
> Add the words html body before each CSS element in your Stylesheet. Feel
>> free to see the Stylesheet I use as an example here http://giffmex.org/**
>> recursosgiffmex.htm <http://giffmex.org/recursosgiffmex.htm>.
>>
>
> I wonder why that is. @Jeremy, did you have a reason to bind the styles
> for basic elements at this level? Are there any <a> or <div> or what-nots
> outside the body or html container that need not be styled?
>
> - 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.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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