On Feb 8, 2011, at 5:09 AM, Jukka K. Korpela wrote:

> It seems that even browsers that natively support the HTML5 proposed element 
> <header> fail to do that properly - assuming that proper support includes 
> treating it as a block level element by default. You can see this easily if 
> you use <header> with some border setting and test it on Firefox.

Which version of Firefox are you testing ? Gecko 1.9.2.x and older (Fx 3.6) 
'understand' the <header> element - that is, it sorta exist in the dom and can 
be used for styling purposes - but that is about it. It basically remains an 
unknown element, and as such treated as inline. Other older browsers do the 
same (e.g. Safari 4, IE < 9,...) 
Gecko 2.0, with its html5 parser, treats the element as 'block' by default.

> Apparently this can be cured by using
> header { display: block; }

Not 'apparently' but 'surely' :-), as its default display value is inline.

Philippe
---
Philippe Wittenbergh
http://l-c-n.com/





______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to