> #pageWrapper {
>    width:760px;
>    position:absolute;
>    left:50%;
>    margin-left:-380px; }
>
>
> Where I would have just done:
>
> #pageWrapper {
>    width:760px;
>    margin: 0 auto 0 auto;  }

Without seeing the rest of the page or style sheet, my first guess
would be they were attempting to center the div in IE5 and IE6 in
quirks mode, which don't calculate the auto value for margins. Or if
there was some other reason the wrapper needed to be removed from the
normal flow by positioning it, if it needed to overlap other elements
for example.

But it's also just as likely that whoever authored that rule simply
didn't know about margin: 0 auto;

-- 
Craig, www.focalcurve.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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