title: A space between inline-block list items
body: <blockquote>
  <p><strong>Possible Duplicate:</strong><br />
  <a href="https://stackoverflow.com/questions/4969082/unwanted-margin-in-inline-block-list-items">Unwanted margin in inline-block list items</a><br />
  <a href="https://stackoverflow.com/questions/12183341/how-to-remove-invisible-space-from-html">How to remove “Invisible space” from HTML</a></p>
  </blockquote>
  
  <p>Why do the <code>inline-block</code> list items have a space in them? No matter how I make my list items into a menu, I always get spaces.</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>li {
    border: 1px solid black;
    display: inline-block;
    height: 25px;
    list-style-type: none;
    text-align: center;
    width: 50px;
  }
  
  ul {
    padding: 0;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;ul&gt;
    &lt;li&gt;One&lt;/li&gt;
    &lt;li&gt;Two&lt;/li&gt;
    &lt;li&gt;Three&lt;/li&gt;
  &lt;/ul&gt;</code></pre>
  </div>
  </div>
  </p>