title: How to modify a div with another div with Css
body: <p>I want to change the <code>display:</code> from <code>none</code> to <code>block</code> in the div <code>drop</code> when you hover the cursor over the div <code>menu</code>.  I have tried using the characters <code>+</code>, <code>~</code>, <code>&gt;</code>, <code>.</code>, and a space.  I have also tried using <code>id</code>s with <code>class</code>es, <code>id</code>s with <code>id</code>s, and <code>class</code>es with <code>class</code>es.  Here is the code for the </p>
  
  <p><strong>CSS</strong> and <strong>HTML</strong></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>#menu ol li:hover{
       color:yellow;
  }
  #menu ol{
       list-style:none;
       background-color:black;
       color:#11B594;
       padding:5px;
       width:40px;
       height:20px;
       text-decoration:none;
       display:block;
       margin:left;
       position:top;
       padding-top:5px;
  }
  #drop ul{
       list-style:none;
       background-color:grey;
       padding:5px;
       width:120px;
       height:60px;
       text-decoration:none;
       display:none;
       position:absolute;
       padding-top:5px;
      top:0px;
       left:55px;
  }
  #drop ul li:hover{
      background-color:#1DE5FC;
       padding:5px;
      }
  #menu ol li:hover .drop ul{
       display:block;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE HTML&gt;
  &lt;html lang="en"&gt; 
   &lt;head&gt;
    &lt;link type="text/css" rel="stylesheet" href="css.css"/&gt;
    &lt;title&gt;
     Main page
    &lt;/title&gt;
   &lt;/head&gt;
   &lt;body&gt;
    &lt;div id="menu"&gt;
     &lt;ol&gt;
      &lt;li&gt;
       &lt;b&gt;
        Menu
       &lt;/b&gt;
      &lt;/li&gt;
     &lt;/ol&gt;
    &lt;/div&gt;
    &lt;div id="drop"&gt;
     &lt;ul&gt;
      &lt;li&gt;
       &lt;a href="#.html" &gt;#&lt;/a&gt;
      &lt;/li&gt;
     &lt;/ul&gt;
    &lt;/div&gt;
   &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>