Archive for the ‘flow-root’ Category

The End of the Clearfix hack?

Posted on: No Comments
Rachel Andrew with a clear (get it?!) explanation of display: flow-root;, including demos comparing old and new techniques. Apparently the name is still a little bit still up in the air. The whole point of it is getting rid of clearfix, or using a dif...

display: flow-root;

Posted on: No Comments
News to me! There is a spec for it and Firefox says they intend to ship it. It's just like display: block; only: It always establishes a new block formatting context for its contents. Meaning: you don't have to use clearfix hacks. There is a bit more t...