http://hacks.mozilla.org/2010/04/the-css-3-flexible-box-model/