title: How can I make my horizontal navigation bar a drop down menu?
body: <p>I've tried making horizontal drop down navigation bars following tutorials, however they are never centered and I can't figure out how to center them. I tried going in the opposite direction and centering my navigation bar first, and then attempting to make it a drop down menu, though this seems to throw everything off. This is the code I have.</p>
  
  <p>EDIT: The problem I am having is that the submenu is displayed when the page is loaded, along with a bullet point, which I'm sure can be fixed by setting the list-style to none, however I'm not sure where in the CSS this should be.</p>
  
  <p>I'm trying to create a menu similar to <a href="http://www.yootheme.com/demo/wordpress/subway" rel="nofollow">THIS</a>. I understand this uses joomla and I am not.</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>#header {
    height: 100px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  #content {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
  }
  #footer {
    height: 85px;
    padding-top: 40px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  #menu {
    margin: 0 auto;
    display: inline-block;
    list-style: none;
    padding: 0;
    border-top: 1 solid #ccc;
    border-left: 1 solid #ccc;
    border-bottom: 1 solid #ccc;
  }
  #menu li {
    float: left;
  }
  #menu li a {
    display: block;
    padding: 10px 10px;
    text-decoration: none;
    font-weight: bold;
  }
  #menu li a:hover {
    color: #c00;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;ul id="menu"&gt;
    &lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;a href="#"&gt;Kandi&lt;/a&gt;
      &lt;ul&gt;
        &lt;li&gt;&lt;a href="#"&gt;Claim Kandi&lt;/a&gt;
        &lt;/li&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;a href="#"&gt;Events&lt;/a&gt;
  
    &lt;/li&gt;
    &lt;li&gt;&lt;a href="#"&gt;Artists&lt;/a&gt;
  
    &lt;/li&gt;
    &lt;li&gt;&lt;a href="#"&gt;Community&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;a href="#"&gt;Merchandise&lt;/a&gt;
    &lt;/li&gt;
    &lt;/ul&gt;</code></pre>
  </div>
  </div>
  </p>