W3C home > Mailing lists > Public > www-style@w3.org > July 2012

Re: [css3-box] padding: auto

From: Ojan Vafai <ojan@chromium.org>
Date: Tue, 17 Jul 2012 09:44:27 -0700
Message-ID: <CANMdWTvAj_5jN_26+Fe+1pC75Ygb8Gj-pR+_hQG5VYejh1V4sA@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Lea Verou <leaverou@gmail.com>, www-style list <www-style@w3.org>
On Tue, Jul 17, 2012 at 9:10 AM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:

> On Tue, Jul 17, 2012 at 8:45 AM, Ojan Vafai <ojan@chromium.org> wrote:
> > On Mon, Jul 16, 2012 at 4:15 PM, Tab Atkins Jr. <jackalmage@gmail.com>
> > wrote:
> >> An alternative way to do this would be to have a way to opt-in to
> >> <body>'s special handling, where its background gets hoisted to the
> >> canvas.  That's how you achieve this effect when you're not varying
> >> the background within the page.
> >
> > Doesn't justify-content:center achieve the desired behavior just fine?
>
> What's the markup you had in mind?
>

Hmm. I suppose this still requires a wrapper element.


>
> ~TJ
>
Received on Tuesday, 17 July 2012 16:45:21 GMT

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