title: div size doesn't equal top and bottom
body: <p>In the following code I've found that the <code>div</code> size doesn't equal at the top and bottom of the <code>ul</code>.</p>
  
  <p>The <code>div</code> still doesn't have equal size even though I put the padding equal.
  What is wrong?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.footer {
    background-color: #4dbce9;
    padding: 40px 0;
    text-align: center;
    color: #fff;
  }
  .footer ul,
  li {
    display: inline-block;
  }
  .footer a {
    font-size: 14pt;
    padding-right: 20px;
    color: #fff;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="footer"&gt;
    &lt;div class="container"&gt;
      &lt;div class="row"&gt;
        &lt;div class="col-md-2"&gt;
        &lt;/div&gt;
  
        &lt;div class="col-md-8"&gt;
          &lt;ul&gt;
            &lt;li&gt;
              &lt;a href="https://www.facebook.com/rony.fhebrian" /&gt;Facebook
            &lt;/li&gt;
            &lt;li&gt;
              &lt;a href="https://www.twitter.com/ronyfhebrian" /&gt;Twitter
            &lt;/li&gt;
            &lt;li&gt;
              &lt;a href="https://ronyfhebrian.wordpress.com" /&gt;Blog
            &lt;/li&gt;
            &lt;li&gt;
              &lt;a href="mailto:rony.fhebrian@outlook.com"&gt;Contact
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;/div&gt;
  
        &lt;div class="col-md-2"&gt;
        &lt;/div&gt;
  
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>