<!DOCTYPE html> <div style="float:left"> <div style="padding-bottom:1em"> <div style="float:left">test</div> </div> <table style="margin-top:0.5em; background:gold;" cellpadding=0 cellspacing=0> <tr><td>test </table> </div>