Forums

CSS

This topic is locked

Please help css 2 column problem!

Posted 10 Nov 2005 11:35:11
1
has voted
10 Nov 2005 11:35:11 Lindsay Harrison posted:
Hi Guys have used the following css code to layout 2 columns

#box-main {
margin-left: 181px;
margin-top: 0px;
border-top-width: 1px;
border-top-style: solid;
border-top-color: #CCCCCC;
}
#box-left {
margin-top: 0px;
float: left;
width: 180px;
background-color: #33CCCC;
}

These are contained within a box-wrap style

Problem is when I put content in the main panel, the text is indented to where it lines up with the left hand column. see www.testthis.co.uk/bhuf/about-us.htm for example.

The columns are not overlapping and I don't know what else to do.

Thanks in advance for any help

Lindsay

Reply to this topic