title: How to align Navigation Menu to center?
body: <p>I need help to align my website's nav menu to center.</p>
  
  <p>Here is my code. What's wrong with it? It does not align the menu to the center.</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;div class="menu_nav"&gt;
      &lt;ul style="font-family:Ubuntu"&gt;
          &lt;li&gt;&lt;a href="index.html"&gt;Home&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="activities.html"&gt;Activities&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="games.html"&gt;Games&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="about.html"&gt;About Us&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="contact.html"&gt;Contact Us&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>CSS</p>
  
  <pre><code>.menu_nav {
      text-transform: uppercase;
      margin: 0 auto;
  
  }
  .menu_nav ul {
      list-style: none;
      margin: 0 auto;
  
  }
  .menu_nav ul li {
      margin: 0 auto;
      padding: 0 auto;
  
  }
  .menu_nav ul li a {
      display:block;
      margin: 0 auto;
      padding:35px 50px;
      color:#fff;
      text-decoration:none;
      font-size:20px;
  }
  </code></pre>