[flexbox] Current implementation of centring children in parent

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