Re: [css-d] Different ways of doing the same thing

2007-05-26 Thread Roger Roelofs
Les, On May 25, 2007, at 11:30 AM, Les Mizzell wrote: 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; }

Re: [css-d] Different ways of doing the same thing

2007-05-25 Thread James Gadrow
Les Mizzell wrote: 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:

[css-d] Different ways of doing the same thing

2007-05-25 Thread Les Mizzell
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;

Re: [css-d] Different ways of doing the same thing

2007-05-25 Thread Craig Cook
#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

Re: [css-d] Different ways of doing the same thing

2007-05-25 Thread Ernie Finlay
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