Arlen Walker wrote:
> (Why use a wrapper div when you have one built in to the document
> structure?)
Well, if we don't use a wrapper div it'll only work in "standard mode",
in which case the 'text-align: center;' on html and 'text-align: left;'
on body won't do anything and are better left out.
A wrapper is used/necessary when mode-independence is important, in
which case the styling should be something like...
body { text-align: center; }
#wrapper { width: 800px; margin-right: auto; margin-left: auto; text-
align: left; }
...for...
<html>
<body>
<div id="wrapper">
..............
</div>
</body>
</html>
...in order to keep older IE/win "quirks mode" versions (of which there
are still a few around) in on the centering-game.
At my end that includes IE6, but that's a personal preference that
sometimes also includes IE7 (etc.).
regards
Georg
--
http://www.gunlaug.no
______________________________________________________________________
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/