title: why isn't this home icon centered inside the div?
body: <p>I have set the inner <code>div</code> to <code>style=&quot;margin:auto;&quot;</code>, yet the home icon is not centered.</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-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
      &lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"&gt;
      &lt;style&gt;
        body {
        color: white;
        background-color: #1E1B1B;
        border-color: grey;
        }
        .nav-col {
            background-color: transparent;
        margin: 10px;
        padding: 10px;
        font-size: 30px;
        border: 1px solid grey;
        height: 700px;
        width: 150px;
        }
  
      &lt;/style&gt;
    &lt;/head&gt;
  
    &lt;body&gt;
        &lt;div class="nav-col"&gt;
      &lt;div style="margin:auto;"&gt;&lt;i class="fa fa-home"&gt;&lt;/i&gt;&lt;/div&gt;
        &lt;/div&gt;  
    &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>This is what I am seeing:</p>
  <p><a href="https://i.stack.imgur.com/w7cQV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/w7cQV.png" alt="enter image description here" /></a></p>