W3C home > Mailing lists > Public > public-html@w3.org > April 2009

Rendering: margins for h1 in section

From: Simon Pieters <simonp@opera.com>
Date: Wed, 29 Apr 2009 22:16:35 +0200
To: "public-html@w3.org" <public-html@w3.org>
Message-ID: <op.us5zxxqfidj3kv@simon-pieterss-macbook.local>
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

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:44 UTC