I have divisions(same width and height) with image(different width and height). I try to center on that image inside the division. so use
{ text-align: center}
here the image comes center but top value is not changed.
Here the eg image what i exactly need.

Here the jsfiddle what i tried. I am waiting for your advice.
Thank you.
You can use
display:table-cellto align the inner images to middle of the div.But in this case you cant give
marginbecausetable-cellforcesdivto act as atdand technically you cant give margin to tabletd.So I have added border to div with white color.
CSS
DEMO
——————————OR—————————————-
You can add an outer div to each div and specify margin to outer div.
CSS
DEMO 2