 <p>The issue is created by the logo image. Images are inline elements so they have a white-space after them. To remove the white-space, you can display the image as a block element by adding this CSS :</p> <pre><code>header &gt; img{ display: block; } </code></pre>