Web Standards Tips

Practical advice for building websites with web standards

Web Standards Tips: antipattern

You are currently browsing the Web Standards Tips archives for the tag antipattern.

The empty div clearfix anti-pattern

By Isofarro on March 8th, 2010 - No comments

The common approach to laying out a page is through the use of float. A container floated left becomes a left-hand sidebar. And even within components of a page, the float is used to create columnar layouts. The symptom of float-based layouts One of the side-effects of using floats for layout is that the element […]

Filed in CSS Tagged with , , , , , ,
Copyright © 2007 - 2009, isolani