title: How to fix navbar dropdown menu in css
body: <p>I have a problem with the dropdown menu when I hover in services menu. <a href="http://codepen.io/anon/pen/VvJLdG" rel="nofollow">Here's the problem (on Codepen)</a></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>*{
   margin: 0;
   padding: 0;
  }
  body{
   margin: 0 auto;
   width: 800px;
  }
  a{
   font-family: 'Alegreya Sans Regular';
  }
  
  #navigation{
   height: 113px;
   width: 800px;
   background-color: #17384D;
  }
  .weblogo{
   margin-top: 34px;
   margin-left: 20px;
  }
  nav{
   float: right;
   margin-top: 60px;
   margin-right: 60px; 
   
  
  }
  
  nav ul ul{
   display: none;
  
  }
  nav ul li:hover &gt; ul {
    display: block;
  
   }
  nav ul li{
   display: inline-block;
   padding-left: 45px;
  
  }
  nav ul li a{
   text-decoration: none;
   list-style: none;
   color: #FAD46B;
   font-size: 1.3em;
  
  }
  .active{
   border-bottom: 2px solid #FF972C;
   padding-left: 0px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="navigation"&gt;
    &lt;img class="weblogo"src="weblogo.png"&gt;&lt;/img&gt;
  
    &lt;nav&gt;
     &lt;ul&gt;
      &lt;li class="active"&gt;&lt;a href="#"&gt;home&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;work&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;about&lt;/a&gt;&lt;/li&gt;
      &lt;li class="dropdown"&gt;&lt;a href="#"&gt;services&lt;/a&gt;
       &lt;ul&gt;
        &lt;li&gt;&lt;a href="#"&gt;Search&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#"&gt;Search&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#"&gt;Search&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#"&gt;Search&lt;/a&gt;&lt;/li&gt;
       &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;contact&lt;/a&gt;&lt;/li&gt;
     &lt;/ul&gt;
    &lt;/nav&gt;</code></pre>
  </div>
  </div>
  </p>