kellan4459
IS-IT--Management
I have the following design
<div class="bodycontainer">
<div class="contactLeft">
email
address
map
</div>
<div class="contactRight">
contact form
</div>
<hr>
</div> <!-- bodycontainer -->
css has
.contactLeft {
float: left;
clear: left;
}
.contactRight {
float: right;
clear: right;
}
The problem is that the <hr> is not below the div's even though I have the clears to end the floats. It is either behind them or shifted over at the top. Is there something else that will allow the rest of the page to flow after the floated div's?
<div class="bodycontainer">
<div class="contactLeft">
address
map
</div>
<div class="contactRight">
contact form
</div>
<hr>
</div> <!-- bodycontainer -->
css has
.contactLeft {
float: left;
clear: left;
}
.contactRight {
float: right;
clear: right;
}
The problem is that the <hr> is not below the div's even though I have the clears to end the floats. It is either behind them or shifted over at the top. Is there something else that will allow the rest of the page to flow after the floated div's?