Here is a sample code of what I'm trying to do
<div>
<div style="float:left; width:220px; height:300px; border: 1px solid #aaa">
Left div <br>float:left <br> fixed width 220px
</div>
<div>
Right div. <br>No styles<br> Takes remaning width <br><br>
There are some small blocks (one - four) with "float:left"
<div class="small">
<div>one</div>
<div>two</div>
<div>three</div>
<div>four</div>
</div>
<div>
<div id='bottom_div1'>Some content which needs to appear below small blocks</div>
<div id='bottom_div2'>Some content at the bottom, which needs to appear below small blocks</div>
</div>
</div>
</div>
Working fiddle here
I need the contents inside the divs bottom_div1 and bottom_div2 to appear in the right div below the row of small blocks ("one" - "four"). However, with "clear: both" it appears below the left div, and with "clear: none" it appears to the right of small blocks. Any help would be greatly appreciated!
source
share