[whatwg] [html5] Semantic elements and spec complexity

Ian Hickson ian at hixie.ch
Tue Feb 10 01:29:10 PST 2009


On Tue, 10 Feb 2009, Simon Pieters wrote:
> 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>).

Yeah, that's a good point. I've left it at just display:block.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list