clearfloat

Posted under » CSS on 5 October 2011

To break the floats without leaving a gap at the bottom which is common with <br> or line break

The CSS

.clearfloat { 
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}

The usage

<br class="clearfloat" />

This is a sequel to my 3 column article.

web security linux ubuntu python django git Raspberry apache mysql php drupal cake javascript css AWS data