So the HTML is divided using divs obviously
...
<div id="left">
content
</div>
<div id="right">
content
</div>
<div id="main">
content
</div>
...
I would like to create a layout using CSS that gives us three columns.
| | | |
| | | |
| left | main |right |
| | | |
| | | |
The trick is that I would like the main part to be centred and 60% of width. Left and right to be 20% width.
There will be no images just plain text.
margin:autofor main andleft:0for left div andright:0for right div. Also specified widths in %. – Tomasz Apr 17 '11 at 18:34