 <p>This is happening because you have created float based layout on the various block elements. Floating elements break out of the normal flow of the page.</p> <p>You don't think you need to apply float on the <code>td</code>'s. You can make use of the <code>text-align: left;</code> for aligning the element in the <code>td</code>.</p>