 <p>You can get horizontal align for this image using for tag "a":</p> <pre><code>text-align: center; </code></pre> <p>But for to get vertical align unfortunately you need to set margin-top for this image with hands using known height of parent div (or, with the same result, padding-top for "a" tag). You can use some jquery plugins for it (just search something like "jquery vertical align plugin" in google, there are many plugins for it) or write your own script.</p>