Center DIVs

To center a DIV container use the following:

padding-left:auto; 
padding-right:auto

or

margin:auto;

in your css file
Make sure you also set the width of your “DIV” tag

Let's share thisShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn