Quote:
Originally Posted by foosion
What is the order of precedence of major tags, such as @page, body, h1, p?
Is it the case that the closer something is to text the higher precedence it has (overriding things farther away)? And, for example in <p class-"xyz"> xyz would override the relevant properties of p.
Also, where can I find the defaults for the tags?
|
Think Boxes inside boxes. Body is the outer box (for content),
Have you opened the
Property Inspector in the Viewer? <<<
That shows just how YOUR book is nested
Display Block means that is the current base
If it is NOT, the styles cascade on the prior block
Spend some time reading at W3C. Just remember EPUB is a limited subset of that (that being what web pages are built)