Forum Moderators: not2easy
I don't want to float my container to fix the issue because it will not be centered anymore.
Can't use clear on left because right will not float anymore.
#container {
width:600px;
min-height:150px;
background-color:#000000;
margin-left:auto;
margin-right:auto;
margin-top:5px;
clear:both;
}
.left {
width:150px;
float:left;
margin-top:5px;
}
.right {
width:450px;
min-height:150px;
float:right;
background-color:#e5e5e5;
}
<div id="container">
<div class="left">
small left content
</div>
<div class="right">
lots of content here
</div>
</div>
[edited by: Walley at 9:38 am (utc) on May 31, 2009]