Re: [css-d] Odd behaviour of block elements

2012-07-04 Thread Ville Viklund
Hi Behaviour is expected. Floated and absolutely positioned elements lose their 100% width by default. See http://jsfiddle.net/6De85/6/ for example. You should specify the width for selected elements rather than using general width for positioned elements. Ville 2012/7/4 muhle...@gmail.com >

[css-d] Odd behaviour of block elements

2012-07-04 Thread muhle...@gmail.com
Hi everybody, We are used to the width of block elements being 100% by default. HTML5 new 'divs' such as section, article, footer, etc seem to behave like that when declared as 'display: block;' This corresponds with Eric's reset.css. The odd behaviour, in my eyes, is that as soon as you use 'pos