the safest & most extendable way is to add a new element with clear:both; before green div.
HTML
<div id='red' class='box'></div>
<div id='blue' class='box'></div>
<div id='clear'></div>
<div id='green'></div>
CSS
#clear{
clear:both;
}
the safest & most extendable way is to add a new element with clear:both; before green div.
HTML
<div id='red' class='box'></div>
<div id='blue' class='box'></div>
<div id='clear'></div>
<div id='green'></div>
CSS
#clear{
clear:both;
}