Re: [css-d] Centering 2 cols layout

2005-09-16 Thread Nick Cappadona
M Moore-Racine wrote: Can anyone please tell me how to center a 2-cols css layout inside the wrapper. Somehow, the left margin is larger than the right margin. I would like it to be equal to the right margin, and keep the layout centered in the wrapper. In case you need to look at the page

Re: [css-d] Centering 2 cols layout

2005-09-16 Thread Rob Cochrane
M Moore-Racine wrote: Can anyone please tell me how to center a 2-cols css layout inside the wrapper. Hi, Give the wrapper a width either as a percentage or fixed and then set left and right margins to auto. remove the position relative. Also remove position absolute from #C1 reduce the marg

Re: [css-d] Centering 2 cols layout

2005-09-16 Thread Jono
The problem: You've set the margin on the body to be 100px all the way around. That's fine, BUT, you then absolutely position "c1" at left: 150px; which is relative to the body element; meaning it will be positioned 150 pixels from the left inner-edge of the browser window - which is 50 pixels mor

[css-d] Centering 2 cols layout

2005-09-16 Thread M Moore-Racine
Can anyone please tell me how to center a 2-cols css layout inside the wrapper. Somehow, the left margin is larger than the right margin. I would like it to be equal to the right margin, and keep the layout centered in the wrapper. In case you need to look at the page in order to tell me, here