Image doesn't center


In this demo why doesnt image center when with :slight_smile:

margin: 0 auto;

There is room around image so 25px on each side should be enough?

JFiddle Demo


img {
display: block;
margin: 0 auto;  


my bad.,...image is inline element


This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.