Hi Liz, I think the code you looked at centers the wrapper...,I'm not sure
that your code does that.
Ernie.
From: Les Mizzell <[EMAIL PROTECTED]>
To: css-d@lists.css-discuss.org
Subject: [css-d] Different ways of doing the same thing
Date: Fri, 25 May 2007 11:30:13 -0400
It's always interesting to look at other folks stuff. I just inherited a
site, and in looking at their CSS, the main div is listed thusly:
#pageWrapper {
width:760px;
position:absolute;
left:50%;
margin-left:-380px; }
Where I would have just done:
#pageWrapper {
width:760px;
margin: 0 auto 0 auto; }
Any advantage of doing it the first way?
______________________________________________________________________
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/
_________________________________________________________________
Like the way Microsoft Office Outlook works? Youll love Windows Live
Hotmail.
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_outlook_0507
______________________________________________________________________
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/