css - can't align -moz-box for firefox/IE -


i'm having trouble in aligning -moz-box display in firefox , ie. can chrome/opera changing '-webkit-box-pack' center/end etc , works '-moz-box-pack' not changing anything

here link of sample page of site http://www.awforum.co.nf/register

   body{        background-color:#eaeaea;        width:100;        display:-moz-box;        display:-webkit-box;        -moz-box-pack: center;        -webkit-box-pack:center;        //-moz-box-align:center;        //-webkit-box-align:center;        text-align: center;              } 

looks try use old way/syntaxe of flex-box model.

it today morelike :

body{     background-color:#eaeaea;     width:100;     display:-webkit-box;     -webkit-box-pack:center;     -webkit-box-align:center;        text-align: center;     background-color:#eaeaea;     display:-webkit-flex;     display:-ms-flexbox;     display:flex;     -webkit-box-align:center;     -webkit-align-items:center;         -ms-flex-align:center;             align-items:center;    -webkit-box-pack:center;    -webkit-justify-content:center;        -ms-flex-pack:center;            justify-content:center; } 

Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

Swift game error message -