Scott Reston wrote:
> I'm wondering - wouldn't it work to simply set the width of
> the body appropriately, then set it's left and right margins
> to "auto"?

And give it position:relative, yes :-)

> Same effect without any extra non-semantic cruft.
>
> This just off the top of my head, so YMMV.

Yup, good idea. I'm just so used to having a wrapper, that I 
forgot to think of that option. At the same time though, ISTR 
that there is/was a browser that didn't work with that. IE6, 
Firefox and Opera do though, so I'm not sure if I'm mistaken in 
my memory.

Sidenote to styling <body>: if you don't want the rest of the 
page to have the same background as <body>, you need to style 
<html> separately.

-- 
Els
http://locusmeus.com/
http://locusoptimus.com/ 


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to