W3C home > Mailing lists > Public > www-style@w3.org > March 2009

Re: layout idea

From: Jonathan Snook <jonathan.snook@gmail.com>
Date: Fri, 13 Mar 2009 20:20:05 -0400
Message-ID: <6719e3ac0903131720o375fa86fv239ab27258b8a50f@mail.gmail.com>
To: www-style@w3.org
> For example:
> position:grid;
> left: 1gr;
> top: 1gr;

I like the simplicity of this style. It does mean that the size of the
cells has to be specified in advance somewhere (like the microsoft
proposal) and in bulk. That seems cumbersome, even if everything after
that is simple.

> Width and height could be specified in grid units as well (there would be a
> fair bit to work out though regarding how the overall row/column
> widths/heights got determined).

This would definitely be a problem in either case. For the matrix
layout, I expected it to use a similar model to tables. An explicit
width could be defined for a column, and the others would divide
what's left based on content (unless otherwise explicitly set). Height
could be determined naturally by element content or explicitly set. If
multiple cells within a row have a height specified, it'd take the
highest for the row.

-js
Received on Saturday, 14 March 2009 00:20:39 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:17 GMT