title: CSS div height not stretching
body: <p>I'm programming a website and on a page I have dynamic content. To be specific I want to display some content in a div each. And the main div wont stretch upon this content.</p>
  
  <pre><code>#main{
      position:relative;
      background-image:url(images/main_middle.png);
      background-repeat:repeat-y; 
      width:850px;
      min-height:450px;
  }
  .intrebari{
      position:relative;
      width:400px;
      min-height:150px;
      padding:20px;
  }
  
  while($row=mysql_fetch_array($rezultat)){
      echo '&lt;div class="intrebari"&gt;
                   &lt;div id="upleft"&gt;&lt;/div&gt;
           &lt;div id="upright"&gt;&lt;/div&gt;
           &lt;div id="downleft"&gt;&lt;/div&gt;
           &lt;div id="downright"&gt;&lt;/div&gt;
          '.$_SESSION['username'].' a intrebat:&lt;br /&gt;
          '.$row['question'].'
           &lt;/div&gt;';
  }
  </code></pre>
  
  <p>What am I doing wrong?</p>