title: Absolute Div with P content inside relative Div not overflowing
body: <p>So, I'm trying to make a chatbox, with the following:</p>
  
  <pre><code>         &lt;div class="text-container"&gt;
                  &lt;div class="text" id="textholder"&gt;
                      &lt;p&gt;message&lt;/p&gt;
                      ...
                      &lt;p&gt;message&lt;/p&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
  
              &lt;div class="chatbox-container"&gt;
                  &lt;div class="chatbox"&gt;
                    &lt;input type="text" id="textinput" class="inputText" placeholder="Enter text" /&gt;
                    &lt;input type="submit" class="send" onclick="addMessage()" value="Send" autofocus /&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
  </code></pre>
  
  <p>With the following css:</p>
  
  <pre><code>.text-container{
      width: 100%;
      height: 500px;
      overflow: auto;
      position: relative;
  }
  
  .text{
      position: absolute;
      bottom: 0px;
      left: 25%;
      width: 50%;
      height: auto;
  
  }
  
  .chatbox-container{
      width: 100%;
      height: 30px;
      overflow: auto;
  }
  </code></pre>
  
  <p>Where I add some more p's to with the addMessage() function (just adds paragraph with text to innnerHTML of #textholder)</p>
  
  <p>now the problem is that I can't get the text div to overflow(auto), which means the text just disappears.
  I want the text to be in the center of the text-container, but I want the scroll to be on the container, so it looks like in skype.</p>
  
  <p>How can I do this? Also, I've tried to basicly align the messages to the bottom of the textbox in a skypelike manner, but I've read that this can also be done by vertical-aligning. yet this didn't work how I wanted it.</p>
  
  <p>Hopefully you get what I'm asking, English is not my native language, and I'm not sure if I'm asking it in the right way.</p>
  
  <p>thanks in advance!</p>
  
  <p>ps. please take into account that this is part of a bigger page, thus I left out some parts.</p>