#
March 8, 2013 at 2:18 am
Here is a better version of @CodeGraphics code but without the extra html and unnecessary css. You dont need so much code for a simple thing.
Simply put, if you have a div, and the elements inside are set to “display:inline-block” then you can just use “text-align:center” to center them inside. Then reset the “text-align:left” inside the box.
[http://cdpn.io/dJKcu](http://cdpn.io/dJKcu “Code”)