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

Re: layout idea

From: Brad Kemper <brad.kemper@gmail.com>
Date: Fri, 20 Mar 2009 12:24:57 -0700
Message-ID: <7e1f93760903201224l70c53175lf0eaf40ca123fe16@mail.gmail.com>
To: David Hyatt <hyatt@apple.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Jonathan Snook <jonathan.snook@gmail.com>, "www-style@w3.org" <www-style@w3.org>
On Thu, Mar 19, 2009 at 12:34 PM, David Hyatt <hyatt@apple.com> wrote:

>
> I think the model should encourage not specifying display:table-cell cells
> at all.... i.e., objects that specify table-position should commonly just be
> blocks not cells.
>

Sorry to have to disagree on this point too. It is likely that I will have
an ID or CLASS on the element that I want to be a header or sidebar or
whatever, and then I can use that to not only make it into a table-cell, but
to style it like one too. This means that I can have it's background extend
to the full height of the table, for instance, or have its border shared
with another cell and centered along that edge, while taking advantage of
the sizing qualities of that non-fixed tables allow. All in one rule with
that ID selector. I would almost always want the DIVision I select to become
the cell, with background, border, shadows and all applying to the whole
cell, and not just be stuck in as a block at the top of the cell.
Received on Friday, 20 March 2009 19:25:38 GMT

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