title: Child Div's display:none is not working
body: <p><strong>Display:none</strong> is not working for the child div. How do I fix this problem?</p>
  
  <p><em>HTML</em></p>
  
  <pre><code>&lt;div class="parent"&gt;
      Hello
      &lt;div class="child"&gt;
         Ola
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><em>CSS</em></p>
  
  <pre><code>.parent {
      display:block;
  }
  
  .child {
      display:none;
  }
  </code></pre>
  
  <p>In Chrome Developer Tools, child's display:none gets crossed out.</p>