title: How can I move my navigation bar to a different place?
body: <p>I'm trying to make my nav bar be horizontal and <em>centered.</em> Right now, it's all smushed to the right of the website. How do I control where the bar is located?<br>
  Also, why can't I just have all my css under #nav (why do I need #nav ul li, etc?)</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{
      width: 90%;
      text-align: center;
      font-size: 35px;
      text-align: center;
  }
  
  #nav ul li{
      display: inline;
      height: 60px;
      text-align: center;
  }
  
  #nav ul li a{
      padding: 40px;
      background: #25ccc7;
      color: white;         
      text-align: center;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="nav"&gt;
      &lt;ul&gt;
          &lt;li&gt;&lt;a href="/"&gt;Home&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="/about"&gt;About&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="/contact"&gt;Contact&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>