title: Div with text not stretching vertically inside wrapper
body: <p>I have a wrapper with inside a header, a left column and the main content.
  Outside the wrapper i got the footer.</p>
  
  <p>My problem is that main content, if there's not enough text, doesn't stretch till the bottom of the page. If i insert lorem ipsum etc, being many rows it's all ok, but if i try with only few rows, the main div stops before the very end of the wrapper (or better, the end of the page, before the footer).</p>
  
  <p>Here's my html code</p>
  
  <pre><code>&lt;?php session_start();
  unset($_SESSION['message']);
  ?&gt;
  &lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;link rel="stylesheet" href="../css/stili.css" type="text/css" /&gt;
  &lt;script type="text/javascript" src="../script/scripts.js"&gt;&lt;/script&gt;
  
  &lt;meta charset="utf-8"/&gt;
  &lt;title&gt;&lt;/title&gt;
  &lt;style&gt;
  
  &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div id="wrapper"&gt;
  
  &lt;div id="header"&gt; 
      &lt;?php
       include('../php/header.php');
      ?&gt;
  &lt;/div&gt;
  
  &lt;div id="leftcolumn"&gt;
  &lt;?php
       include('../php/leftcolumn.php');
  ?&gt;
  &lt;/div&gt;
  &lt;div id="main" &gt;Welcome to our site
  
  ...Some text, but not enough to stretch to the end of page...
  
  
  &lt;/div&gt;
           &lt;div style="clear: both"&gt;&lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div id="footer"&gt;Copyright 2013&lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And here's the CSS</p>
  
  <pre><code>html,
  body {
  padding:0;
  margin:0;
  height:100%;
  }
  
  #wrapper {
  min-height:100%;
  height:auto;
  margin:0 auto -30px;
  width:950px;
  background-color:#E3AA56;
  
  }
  
  #main {
  float:right;
  width:680px;
  padding:10px;
  background:#E0CD90;
  text-align:justify;
  overflow: auto;
  
   }
  
  #main a{
  font-size:40px;
  }
  
  #footer{
   border-top: 2px solid #CCCCCC;
  width:950px;
  margin:auto ;
  height:30px;
  background:#ee5;
  clear: both;
  }
  </code></pre>
  
  <p>Thanks in advice to everyone that will help finding the problem!</p>