Rules2liveby
MIS
Hi,
I am new to css and I wanted to create the following:
Site 1000px wide, centred on page. 3 columns. Centre colum liquid, others fixed width.
Can do everything except get it centred on the page with 'white space' on either side.
I have tried using the
<div id="centrecolumn" align=centre> etc
along with
#centresolumn { width:1000px; margin-left:auto; margin-right:auto; }
which works for one div, but when I float the left menu and right menu divs left and righe respectively they go all the way to the edges.
What am I doing wrong?
I expect something like leftmenu width 200px, right menu width 200px would be for the sides with centrecolumn width as max 600, min 200 or something.
I am new to css and I wanted to create the following:
Site 1000px wide, centred on page. 3 columns. Centre colum liquid, others fixed width.
Can do everything except get it centred on the page with 'white space' on either side.
I have tried using the
<div id="centrecolumn" align=centre> etc
along with
#centresolumn { width:1000px; margin-left:auto; margin-right:auto; }
which works for one div, but when I float the left menu and right menu divs left and righe respectively they go all the way to the edges.
What am I doing wrong?
I expect something like leftmenu width 200px, right menu width 200px would be for the sides with centrecolumn width as max 600, min 200 or something.