 <p>something like this? <a href="http://jsfiddle.net/93zb8Lzs/6/" rel="nofollow">http://jsfiddle.net/93zb8Lzs/6/</a></p> <pre><code>&lt;img src="https://www.google.at/images/srpr/logo11w.png" width="368" height="138" alt="Logo" /&gt; &lt;!-- Nvigationselemente --&gt; &lt;div class="nav"&gt; &lt;/div&gt; img { display:block; margin:auto; } </code></pre>