PDA

View Full Version : Adding A Column To The Left of the Page


paulj
08-08-2007, 06:14 AM
I'm wanting to add a column to the left that would run the length of the page of this attachment. Any help anyone could provide would be greatly appreciated. Thank you.

doctordew
08-08-2007, 01:50 PM
This will give you 2 columns. You will just need to adjust them so that you get the size you want.

CSS

.leftcolumn {
position: absolute;
width: 100;
top: 0px;
left: 0px;
background-color: #32cd32;
}

.rightcolumn {
position: absolute;
width: 700;
top: 0px;
left: 100px;
background-color: #00ffff;
}

HTML

<DIV class="leftcolumn">

Contents of the left column.
</DIV>

<DIV class="rightcolumn">

Contents of right column.
</DIV>