title: Content's Texts going over footer div
body: <p>I have the following HTML Code, If I have a lot of text inside my div called content, the footer div doesn't move downward and the texts go over my footer div.</p>
  
  <p>To see the problem, please check this link <a href="http://jsfiddle.net/LhzrQ/" rel="nofollow">http://jsfiddle.net/LhzrQ/</a></p>
  
  <p>Could You please tell me how to solve the problem?</p>
  
  <p>
  
      </p>
  
  <pre><code>    &lt;div id="container" style="width:500px"&gt;
  
          &lt;div id="header" style="background-color:#FFA500;"&gt;
              &lt;h1 style="margin-bottom:0;"&gt;Main Title of Web Page&lt;/h1&gt;
          &lt;/div&gt;
  
          &lt;div id="menu" style="background-color:#FFD700;height:200px;width:100px;float:left;"&gt;
              &lt;b&gt;Menu&lt;/b&gt;&lt;br&gt;
              HTML&lt;br&gt;
              CSS&lt;br&gt;
              JavaScript
          &lt;/div&gt;
  
          &lt;div id="content" style="background-color:#EEEEEE;width:400px;float:left;"&gt;
              HyperText Markup Language (HTML) is the main markup language for displaying web pages and other information that can be displayed in a web browser.
              HTML is written in the form of HTML elements consisting of tags enclosed in angle brackets (like &lt;html&gt;), within the web page content. HTML tags most commonly come in pairs like &lt;h1&gt; and &lt;/h1&gt;, although some tags, known as empty elements, are unpaired, for example &lt;img&gt;. The first tag in a pair is the start tag, the second tag is the end tag (they are also called opening tags and closing tags). In between these tags web designers can add text, tags, comments and other types of text-based content. The purpose of a web browser is to read HTML documents and compose them into visible or audible web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page.
  
          &lt;/div&gt;
  
          &lt;div id="footer" style="background-color:#FFA500;clear:both;text-align:center;"&gt;
              Copyright © W3Schools.com
          &lt;/div&gt;
  
      &lt;/div&gt;
  
  &lt;/body&gt;
  </code></pre>
  
  <p>​</p>