title: HTML Div Tags Overlapping With CSS
body: <p>Im creating a webpage wit basic div elements and basic css styling. However i find that whenever I place an excessive amount of content in one of these div tags the content is displayed incorrectly event with the use of the <code>overflow: auto;</code> technique.</p>
  
  <p>LINK TO VISUAL PROBLEM: <a href="http://i.stack.imgur.com/FGCQk.jpg" rel="nofollow">http://i.stack.imgur.com/FGCQk.jpg</a></p>
  
  <p>THE HTML:</p>
  
  <pre><code>    &lt;!doctype html&gt; 
  &lt;html lang="eng"&gt; 
  &lt;head&gt;
  &lt;title&gt; Car Hunt Jamaica || The Hunt Is On! &lt;/title&gt;
  &lt;meta name="title" content="Car Hunt Jamaica"&gt;
  &lt;meta name="description" content="Buy and Sell New and User Motor Cars In Jamaica"&gt;
  &lt;meta name="keywords" content="Cars, Buses, Trucks, Buy, Vehicles"&gt;
  
  &lt;link href="styling/desktop.css" rel="stylesheet" type="text/css"&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  &lt;div id="main_body"&gt;
  
  &lt;div id="header_left"&gt; 
  &lt;p&gt; header left&lt;/p&gt; 
  &lt;/div&gt; &lt;!-- header left ends here --&gt;
  
  &lt;div id="header_right"&gt; 
  &lt;p&gt; header right &lt;/p&gt; 
  &lt;/div&gt; &lt;!-- header right ends here --&gt;
  
  &lt;div id="right_sidebar"&gt; 
  &lt;p&gt; right side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side barright side bar &lt;/p&gt;
  &lt;/div&gt; &lt;!-- Right sidebar ends here --&gt;
  
  &lt;div id="container"&gt; 
  &lt;p&gt; container &lt;/p&gt;
  &lt;/div&gt; &lt;!-- container ends here --&gt;
  
  
  &lt;/div&gt; &lt;!-- Main Body Ends  --&gt;
  &lt;div id="footer"&gt;
  &lt;p&gt; Footer &lt;/p&gt;
  &lt;/div&gt; &lt;!-- Footer ends here --&gt;
  
  &lt;/body&gt;
  &lt;/html&gt; &lt;!-- HTML page ends here --&gt;
  </code></pre>
  
  <p>THE CSS:</p>
  
  <pre><code>    @charset "utf-8";
  /* CSS Document */
  
  body{
      background-color:#000;
      overflow-y: auto;
  }
  
  #main_body{
      background-color:#fff;
      width: 990px;
      margin-top: 50px;
      margin-left:auto;
      margin-right:auto;
      height: 600px;
  }
  
  #header_left{
      background-color:#F00;
      width: 230px;
      height: 70px;
      float: left;
  }
  
  #header_right{
      background-color:#009;
      width: 760px;
      height: 70px;
      float:right;
  }
  
  #footer{
      background-color:#666;
      width: 990px;
      height: 30px;
      margin-top:0px;
      margin-left:auto;
      margin-right:auto;
  }
  
  #right_sidebar{
      margin-top: 30px;
      margin-left: 20px;
      background-color:#FF0;
      float: left;
      width: 230px;
  
  }
  
  #container{
      background-color:#0C0;
      width: 660px;
      float: right;
      margin-top: 30px;
      overflow-y: auto;
      margin-right: 20px;
  </code></pre>
  
  <p>Dont mind the horrible colors its just so i can identify each div tag correctly </p>