title: Center text in <li> while still keeping list items on a new line?
body: <p>I'm trying to have a vertical navigation list on a site but my text isn't centered within the div. Multiple posts on here have suggested to make the list display:table and the items display:table-cell</p>
  
  <p>this solves the problem but I have to change the display from block, which forces each list item to be a new line ( what I want ). </p>
  
  <p>How can I solve this while keeping everything nice, centered, and on a new line?</p>
  
  <p>should note:  It may be firefox but I'm even using a css reset. The issue acts the same with or without the reset. puu .sh /kcrhs/bb728e4711 .png</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>#nav {
    background-color: #801918;
    font-family: arial, sans-serif;
    Font-weight: bold;
    font-size: 25px;
    color: white;
    display: block;
    margin: 0 auto;
  }
  #nav ul li {
    transition: .5s;
    padding-bottom: 45px;
    margin: auto;
    text-align: center;
  }
  #nav ul li:hover {
    color: yellow;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="nav"&gt;
    &lt;ul&gt;
      &lt;li&gt;Home&lt;/li&gt;
      &lt;li&gt;About&lt;/li&gt;
      &lt;li&gt;Contact&lt;/li&gt;
      &lt;li&gt;Resume&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>