Vertically align an image inside div

#divid {position:relative}
#divid img {position:absolute; top:0; bottom:0; margin:auto; height:122px}

images

Leave a Reply

Your email address will not be published. Required fields are marked *