What benefit is there to a "wrapper" DIV on a web page?

It seems to me that the BODY element serves all that's needed for styling a
page. It can have a width; can be centered with auto side margins; can have
its own background; has a new block-formatting context; and elements can be
positioned relative to it. All this without any CSS that a wrapper DIV may
need to have these properties.

I can only imagine there is some CSS reason for the extra markup, but so far
have not found it. Anyone?
--
Cordially,
David

______________________________________________________________________
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