title: how to have both a horizontal and vertical navigation bar
body: <p>How can I make it so that I can have both a horizontal and vertical navigation bar? I'm a big beginner baby at design and I'm trying to figure out what I'm doing wrong but I'm not sure how to have CSS on multiple links.</p>
  
  <pre><code>&lt;body&gt;
    &lt;div class="horizontallinks"&gt;
      &lt;ul&gt;
        &lt;li&gt; link1 &lt;/li&gt;
        &lt;li&gt;link 2&lt;/li&gt;
        &lt;li&gt;link 3&lt;/li&gt;
        &lt;li&gt;
          &lt;link 4&lt;/div&gt;
          &lt;div class="verticallinks"&gt;
            &lt;ui&gt;
              &lt;li&gt;link a &lt;/li&gt;
              &lt;li&gt; link b&lt;/li&gt;
              &lt;li&gt; link c &lt;/li&gt;
          &lt;/div&gt;
      &lt;/ul&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>css:</p>
  
  <pre><code>.horizontallinks {
    position: fixed;
    list-style-type: none;
    margin-top: 70px;
    margin-left: 300px;
    padding: 0;
    font-size: 18px;
    overflow: hidden;
    background-color: white;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  
  .verticallinks {
    position: fixed;
    list-style-type: none;
    padding: 0;
    font-size: 18px;
    margin-left: 45px;
    margin-top: 165px;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  
  li {
    float: left;
  }
  
  li a {
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  </code></pre>
  
  <p><div class="snippet" data-lang="js" data-hide="true">
  <div class="snippet-code snippet-currently-hidden">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.horizontallinks {
    position: fixed;
    list-style-type: none;
    margin-top: 70px;
    margin-left: 300px;
    padding: 0;
    font-size: 18px;
    overflow: hidden;
    background-color: white;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  .verticallinks {
    position: fixed;
    list-style-type: none;
    padding: 0;
    font-size: 18px;
    margin-left: 45px;
    margin-top: 165px;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  li {
    float: left;
  }
  li a {
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;body&gt;
    &lt;div class="horizontallinks"&gt;
      &lt;ul&gt;
        &lt;li&gt;link1&lt;/li&gt;
        &lt;li&gt;link 2&lt;/li&gt;
        &lt;li&gt;link 3&lt;/li&gt;
        &lt;li&gt;link 4&lt;/li&gt;
      &lt;/ul&gt;
      &lt;div class="verticallinks"&gt;
        &lt;ul&gt;
          &lt;li&gt;link a&lt;/li&gt;
          &lt;li&gt;link b&lt;/li&gt;
          &lt;li&gt;link c&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/body&gt;</code></pre>
  </div>
  </div>
  </p>