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

Re: [css3-layout] Issues/suggestions for Template Layout Module

From: Brad Kemper <brad.kemper@gmail.com>
Date: Tue, 28 Apr 2009 07:56:16 -0700
Cc: Giovanni Campagna <scampa.giovanni@gmail.com>, Bert Bos <bert@w3.org>, www-style@w3.org
Message-Id: <0D757338-7241-41F6-B146-CE0EAEEABAF4@gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>

On Apr 28, 2009, at 7:45 AM, Tab Atkins Jr. wrote:

>> Actually, you need borders as soon as you put more elements inside  
>> the
>> slot, and you want a border/padding covering the whole slot without
>> using additional elements.
>> You can fake it setting border-top on the first element, border- 
>> bottom
>> on the last and left / right on elements in the middle, but I'm not
>> sure that is the way to go (you most of time need additional  
>> classes /
>> IDs for those elements).
>> This also applies if you have a template row/column greater than the
>> element inside the slot, and you want to align borders between slots.
> Giovanni got it in one.  Both of those are exactly my reasons for
> wanting borders on slots (and padding).  The draft essentially creates
> a phantom container element, and I want to be able to *style* that
> container!

I agree. It would be very useful design-wise to be able to have a  
column-rule-like border that extends through several slots, even if  
they were auto-sized due to content in some other slot. It would also  
be nice to have the option of having collapsed borders. Wouldn't this  
be relatively simple if each slot was just display:table-cell?
Received on Tuesday, 28 April 2009 14:56:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:36 UTC