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 'position:
....;' on on of those block elements, including the old div, they seem
to loose their 100% width.
Three questions, is this established normal behaviour that should be
expected?
What other attributes loose their values?
Is the remedy to add a general 'width: 100%;' for example in reset.css,
or am I better served by specifically having to write the width
attribute on the selected elements?

Tia
Niels

-- 
Niels Muller Larsen, MSc 
Programmer, College Professor

We really don't have any enemies.  It's just that some of our best
friends are trying to kill us.

______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
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