Use this to center the images:
.wrapper { text-align:center; } .wrapper img { display:inline-block; }
However, if the images are small enough in width to go side by side and inserted into the wrapper, they will. You can get around this with additional markup, such as wrapping a <div> around the image or even <br /> .
Demo: http://jsfiddle.net/wesley_murch/Cwed9/1/
Be sure to adjust the width in the demo to see what I mean.
EDIT : I played jsfiddle while this was answered in the comments: P
source share