Rendering: margins for h1 in section

The spec says:

"The article, aside, nav, and section elements are expected to affect the styling of h1 elements, based on the nesting depth. If x is a selector that matches elements that are either article, aside, nav, or section elements, then the following rules capture what is expected:

@namespace url(http://www.w3.org/1999/xhtml);

x h1 { font-size: 1.50em; }
x x h1 { font-size: 1.17em; }
x x x h1 { font-size: 1.00em; }
x x x x h1 { font-size: 0.83em; }
x x x x x h1 { font-size: 0.67em; }"

 -- http://www.whatwg.org/specs/web-apps/current-work/multipage/the-xhtml-syntax.html#fonts-and-colors


This will not use the same margins as h2-h6 use.

-- 
Simon Pieters
Opera Software

Received on Wednesday, 29 April 2009 20:17:16 UTC