W3C home > Mailing lists > Public > www-style@w3.org > May 2013

[flexbox] Current implementation of centring children in parent

From: irfan mir <theirf@gmail.com>
Date: Wed, 8 May 2013 09:13:00 -0500
Message-ID: <CAMPj_RqKSMo=0W+Au0RGAB5Z7eJMAv_kuEW3tgOK-fZR=8=EfQ@mail.gmail.com>
To: "www-style@w3.org" <www-style@w3.org>
Hello CSS WG,

I know I am late to the game and have asked you all for help before, but I
am really interested in flexbox and couldn't find much help online ( in
forums, etc ).

I have written the following styles to centre the children of the object
the styles are applied to with flexbox techniques. Except, this is done
using the 2009 implementation of the Flexible Box Module.

Could someone please help me write these styles in the 2012 implementation
and the current, and I believe final, implementation?

Here are the styles:

display:-moz-box;
display:-webkit-box;
display:box;
-moz-box-align:center;
-webkit-box-align:center;
box-align:center;
-moz-box-orient:horizontal;
-webkit-box-orient:horizontal;
box-orient:horizontal;
-moz-box-pack:center;
-webkit-box-pack:center;
box-pack:center;

I would greatly appreciate any and all help!

Thanks in Advance & Best Regards,
Irfan Mir.
Received on Wednesday, 8 May 2013 14:13:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:29 UTC