How To Clear Floats The Right Way

When I was working on the template for this very blog I realized that I was still using the lame old <br style="clear:both;" /> way to clear floating elements. You know how we are all lazy and tend to stick to tried and tested methods, especially when our sites have to work properly in a multitude of browsers, but this time, after half a decade of clearbothing I thought enough was enough: It's 2012, there has to be a better way to do all this.

Read more...