Centering you content in the middle of a DIV with CSS. Simple!

//Centering you content in the middle of a DIV with CSS. Simple!

Centering you content in the middle of a DIV with CSS. Simple!

/* Internet Explorer 10 */
display:-ms-flexbox;
-ms-flex-pack:center;
-ms-flex-align:center;

/* Firefox */
display:-moz-box;
-moz-box-pack:center;
-moz-box-align:center;

/* Safari, Opera, and Chrome */
display:-webkit-box;
-webkit-box-pack:center;
-webkit-box-align:center;

/* W3C */
display:box;
box-pack:center;
box-align:center;

By | 2014-05-25T13:31:46+00:00 May 25th, 2014|Categories: Wordpress 101 Guide|0 Comments

About the Author:

Leave A Comment