- From: David Carlisle <davidc@nag.co.uk>
- Date: Tue, 28 Dec 2010 16:57:22 +0000
- To: Ian Hickson <ian@hixie.ch>
- CC: James Clark <jjc@jclark.com>, HTML WG <public-html@w3.org>
On 26/12/2010 07:10, Ian Hickson wrote:
> For this markup:
>
> <hgroup>
> <h1>HTML</h1>
> <h2>A markup language for the Web</h2>
> </hgroup>
>
> ...a rule to style the subheading would be:
>
> hgroup> h2 { ... }
But wouldn't you also (typically) be using <hgroup><h2>...</h2><h3>...
in the same document for a level 2 heading (with subheading)
and want to style a level 2 heading differently than a level 1 subheading?
>
> In practice there's no need for a generic solution since the author of the
> CSS also controls the markup.
>
David
Received on Tuesday, 28 December 2010 16:57:47 UTC