title: ul li going outside of div
body: <p>I created li inside a div. However, li are displayed outside div. </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>.container&gt;div {
    width: 50%;
    border: 1px solid red;
  }
  
  div ul {
    list-style-type: none;
  }
  
  ul li {
    font-weight: 700;
    float: left;
    width: 48%;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="container"&gt;
    &lt;div&gt;
      &lt;ul&gt;
        &lt;li&gt;Hello&lt;/li&gt;
        &lt;li&gt;Hi&lt;/li&gt;
        &lt;li&gt;There&lt;/li&gt;
        &lt;li&gt;Where&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>js fiddle :<a href="http://jsfiddle.net/zfvck809/" rel="nofollow noreferrer">http://jsfiddle.net/zfvck809/</a></p>
  
  <p>Any help would be appreciated.</p>