I have an image, centered both, horizontally and vertically
#logo01{ position:absolute; top:50%; left:50%; margin-top:-146px; // half of hei
Using table display:
CSS
img { max-width: 100%; height: auto; display: table; margin: 0 auto; }
http://jsfiddle.net/herbowicz/a5kumqtv/5/