title: Span inside div doesn't style correctly
body: <p>I want to use span inside div</p>
  
  <p>div is used to put a red horizontal line</p>
  
  <pre><code>&lt;div style="background-color:red;"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>span is used inside div</strong> to put elements to right</p>
  
  <pre><code>&lt;div style="background-color:red;"&gt;
  &lt;span style="float:right;"&gt;
  ABC
  &lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>But <strong>the horizontal line do not get red color, only ABC is shown in right, infact there is no effect of div style like width:900px..</strong>....why?</p>