[whatwg] [html5] Semantic elements and spec complexity
Simon Pieters
simonp at opera.com
Tue Feb 10 01:27:36 PST 2009
On Tue, 10 Feb 2009 10:02:36 +0100, Ian Hickson <ian at hixie.ch> wrote:
>> > , default <header>, <footer>, and <navigation> to having a slightly
>> > darker background than their parent element
>>
>> It seems like there should be something more obvious that could be done
>> for these elements. For <header> and <footer> a border below and above,
>> respectivly, would seem obvious.
>
> That would be simple enough, I guess; what do other people think?
I think many authors hate default styles so much that they either prefer to just use <div> or they start their style sheet with resetting the defaults.
Since <header> is intended to be useful to make subheaders not appear in the ToC, the move from
<h1>Foo</h1>
<h2>Bar</h2>
to
<header>
<h1>Foo</h1>
<h2>Bar</h2>
</header>
shouldn't, IMHO, result in ugly borders that everyone has to nuke (compare with <img border=0>).
--
Simon Pieters
Opera Software
More information about the whatwg
mailing list