fluxconstant
07-09-2008, 06:00 AM
Hello. This is my first time posting. If this has been posted already, I apologize upfront.
I am using a two column layout for a site I'm working on. When I resize the browser, the right column overlaps my main content. I've tried using overflow: hidden on the right column div, but this hasn't worked.
The site is at http://students.depaul.edu/~sakel/Research.htm
The code is valid under XHTML Transitional. Any help would be greatly appreciated. Below is the CSS...
body
{
margin-top: 15px;
margin-left: 15px;
margin-right: 15px;
background-color:White;
color: #202020;
font-family: Verdana, Arial;
}
#contentwrapper
{
float: left;
width: 100%;
}
#contentcolumn
{
margin-right: 200px; /*Set right margin to RightColumnWidth*/
}
#rightcolumn
{
float: left;
width: 200px; /*Width of right column in pixels*/
margin-left: -200px; /*Set left margin to -(RightColumnWidth) */
margin-top: 30px;
}
.innertube
{
margin: 10px;
margin-top: 0;
}
.imageheader
{
margin-top: 30px;
margin-bottom: 30px;
width: 100%;
}
.bg
{
background: url(researchbg.jpg);
background-repeat: repeat-x;
width: 100%;
}
I am using a two column layout for a site I'm working on. When I resize the browser, the right column overlaps my main content. I've tried using overflow: hidden on the right column div, but this hasn't worked.
The site is at http://students.depaul.edu/~sakel/Research.htm
The code is valid under XHTML Transitional. Any help would be greatly appreciated. Below is the CSS...
body
{
margin-top: 15px;
margin-left: 15px;
margin-right: 15px;
background-color:White;
color: #202020;
font-family: Verdana, Arial;
}
#contentwrapper
{
float: left;
width: 100%;
}
#contentcolumn
{
margin-right: 200px; /*Set right margin to RightColumnWidth*/
}
#rightcolumn
{
float: left;
width: 200px; /*Width of right column in pixels*/
margin-left: -200px; /*Set left margin to -(RightColumnWidth) */
margin-top: 30px;
}
.innertube
{
margin: 10px;
margin-top: 0;
}
.imageheader
{
margin-top: 30px;
margin-bottom: 30px;
width: 100%;
}
.bg
{
background: url(researchbg.jpg);
background-repeat: repeat-x;
width: 100%;
}