title: How to centre image on website in layout?
body: <p>I'm developing a website and totally cannot centre the Facebook logo on my website.
  <a href="https://i.stack.imgur.com/Q2EtR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Q2EtR.png" alt="position of the logo" /></a></p>
  <p>It still shows up a little to the right. My code:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.cont {
    background-color: #161616;
    font-family: 'Roboto', sans-serif;
    color: #FFFFFF;
  }
  
  .gridcontainer {
    display: grid;
    padding: 2%;
  }
  
  .website {
    text-align: justify;
    justify-items: center;
  }
  
  .cont-fluid {
    padding: 0;
    box-sizing: border-box;
    font-size: 135%;
  }
  
  #about {
    line-height: 1.5;
    font-size: 135%;
    padding-top: 1em;
    text-align: justify;
    margin-bottom: 7%;
    margin-top: 2%;
  }
  
  #fblogo {
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    max-width: 20px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="cont"&gt;
    &lt;div class="gridcontainer"&gt;
      &lt;div class="website"&gt;
        &lt;div class="cont-fluid" id="about"&gt;
          &lt;p&gt;
            Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor
            in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
          &lt;/p&gt;
        &lt;/div&gt;
        &lt;div id="fblogo"&gt;
          &lt;a href="{%https://www.facebook.com/" title="facebook" target="_blank"&gt;
            &lt;img style="max-width: 80px;" src="{% static 'images/facebook.png' %}" alt="facebook"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>I know it's not the best idea to use &quot;display:grid&quot;, while I don't use it, but I also have a header of this website and if remove it or choose &quot;display:block&quot; a white, narrow line appear between header and rest of website, so I use grid, just because it works (but without it, the logo is still off-centre).
  How can I center it?</p>