title: I'm Making Drop Down Menu, But It Shows Vertically Incorrectly
body: <p>I found a video that explains how to create drop down menu, as the headlines should appear horizontally and sublines should appear vertically, with me the head &amp; sub lines shows vertically! I checked the code many times, but I can't find where is the problem in the code!</p>
  
  <p>I'm beginner to <code>HTML5</code> &amp; <code>CSS</code>.</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>#headlist ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
    font-family: Roboto Light;
  }
  
  #headlist ul li {
    float: left;
    width: 1225px;
    height: 70px;
    background-color: #303030;
    line-height: 70px;
    text-align: center;
    font-size: 30px;
    position: relative;
    bottom: 15px;
  }
  
  #headlist ul li a {
    text-decoration: none;
    color: white;
    display: block;
  }
  
  #headlist ul li a:hover {
    background-color: green;
  }
  
  #headlist ul li ul li {
    display: none;
  }
  
  #headlist ul li:hover ul li {
    display: block;</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="welcome"&gt;
    &lt;div id="headlist"&gt;
      &lt;ul&gt;
        &lt;li&gt;
          &lt;a&gt;About&lt;/a&gt;
          &lt;ul&gt;
            &lt;li&gt;&lt;a href="#whos"&gt;Who We Are?&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#keyp"&gt;Key People&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li&gt;
          &lt;a href="#divisions"&gt;Divisions&lt;/a&gt;
          &lt;ul&gt;
            &lt;li&gt;&lt;a href="#extl"&gt;ExtenzaLife&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#ludic"&gt;Ludic Science&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#flemon"&gt;Fleming-Monroe&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#masslog"&gt;Massive Logistic&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#masseng"&gt;Massive Energetic&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#telcen"&gt;Teleportation Center&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li&gt;
          &lt;a href="#mdfound"&gt;Massive Dynamic Foundation&lt;/a&gt;
        &lt;/li&gt;
      &lt;/ul&gt;
    &lt;/div&gt;
    &lt;p id="welto"&gt;WELCOME TO&lt;/p&gt;
    &lt;h1&gt;  M A S S I V E&lt;br&gt;D Y N A M I C  &lt;/h1&gt;
    &lt;h2&gt;&lt;span&gt;“&lt;/span&gt;What do we do? What don't we do!&lt;span&gt;"&lt;/span&gt;&lt;/h2&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>the project content I inspired it from Fringe series.</p>