Kevin Whinnery
Box Layout in CSS

One of the last lingering things I thought Flex had on HTML/CSS was a proper horizontal and vertical box layout. Turns out that in CSS 3, we finally have a proper box model! I adapted this tutorial to show how you do a vertical box in Webkit (Titanium, Safari, Chrome) - ought to work in FF by using a -moz prefix, but haven’t tested there yet:

Check out the Safari docs on the box- family of CSS properties here.

blog comments powered by Disqus