a developer's notes – a semi-technical web development BLOG

March 28, 2013

Padding against an empty div

Filed under: CSS / Styling — Duy Nguyen @ 2:56 pm
Tags: , , , ,

Some times you need to “push” against an empty div, you can use a div with an empty value like this.

<div style="padding-bottom:50px"></div>
<div>&nbsp;</div>
Advertisements

Blog at WordPress.com.