CSS Matrix Layouts: Another Way?

Today, Jonathan Snook posted about CSS Matrix Layouts, a proposal for a third way for creating advanced layouts in CSS3, with Advanced Layouts and Grid Layouts being the others. His ideas are around creating a grid and defining sections (be it divs or natural HTML5 elements) that are effectively laid out like a table. Each section can span like a table can span rows and columns, with all those values being stored in CSS. Take a look at the post for an example, it’s quite simple once you get your head around it.

I raised some concerns about generated columns, and how the grid might not know how to react, and also that adding columns is a bit of a headache in complex layouts, but is relatively minor compared to the benefits that it would bring. In general, there’s a lot of support for the module. Hopefully we’ll see a draft on www-style very soon.

Of course, this is just all new stuff and unlikely to be fast-tracked to CR status any time soon. However, this module is similar to the CSS Grid Layout module, and some of Snook’s work could be very useful in that module. I’m going to investigate the working draft and if it looks like I can improve it, I might even have a go.

0saves
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Steve Workman

Steve Workman is a mobile development expert for PA Consulting, specialising in new user interface technologies, web standards and user experience. Steve is also an organiser for London Web Standards and writes for UXMag.com

More Posts - Website - Twitter

Related posts:

  1. Why CSS Multi-Columns aren’t ready for prime time
  2. CSS Animations on iPhones
  3. Is CSS a black art?
  4. A plea to CSS experts
  5. Easy Semantic Forms with CSS

Tags:

Leave a response