After searching both Stack Overflow and Google I still wonder how to vertical center a image that is bigger than it\'s parent element. I use no height, just max-height, because
If you dont need to use img tags (fiddle):
img
CSS
.imageContainer { margin: 0; height: 200px; /* change it to your value*/ width: 200px; /* or use fixed width*/ background: transparent url('') no-repeat center; overflow: hidden; }
HTML