title: Make textarea scale to web page when using twitter-bootstrap
body: <p>I am trying to make the textarea scale according to page size. I.e I am trying to make the textarea fill the space between the second container and the footer.</p>
  
  <p>HTML:</p>
  
  <pre><code>    &lt;!DOCTYPE html&gt;
      &lt;html&gt;
        &lt;head&gt;
          &lt;title&gt;MySite&lt;/title&gt;
          &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
          &lt;meta http-equiv="Content-Type" content="text/html;charset=utf-8"&gt;
          &lt;!-- Bootstrap --&gt;
          &lt;link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen"&gt;
          &lt;link href="sticky-footer.css" rel="stylesheet"&gt;
        &lt;/head&gt;
    &lt;body&gt;
        &lt;div id="wrap"&gt;
          &lt;div class="container"&gt;
              &lt;h4 class="well well-sm"&gt;My site &lt;/h4&gt;
          &lt;/div&gt;
          &lt;div class="container"&gt;
            &lt;div class="well well-sm"&gt;
            &lt;div class="btn-group"&gt;
              &lt;button type="button" class="btn btn-default"&gt;Domain&lt;/button&gt;
              &lt;button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown"&gt;
                &lt;span class="caret"&gt;&lt;/span&gt;
              &lt;/button&gt;
              &lt;ul class="dropdown-menu" role="menu"&gt;
                &lt;li&gt;&lt;a href="#"&gt;Test&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href="#"&gt;Test 2&lt;/a&gt;&lt;/li&gt;
              &lt;/ul&gt;
            &lt;/div&gt;
            &lt;div class="checkbox inline"&gt;
              &lt;label&gt;
                &lt;input type="checkbox" id="checkBoxError"&gt;Error&lt;/input&gt;
              &lt;/label&gt;
            &lt;/div&gt;   
            &lt;/div&gt; 
          &lt;/div&gt;
          &lt;div class="container"&gt;
            &lt;textarea disabled&gt;&lt;/textarea&gt;
          &lt;/div&gt;
      &lt;/div&gt;
        &lt;div id="footer"&gt;
        &lt;div class="container"&gt;
          &lt;p class="well well-sm"&gt;footer&lt;/p&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;script src="http://code.jquery.com/jquery.js"&gt;&lt;/script&gt;
      &lt;script src="bootstrap/js/bootstrap.min.js"&gt;&lt;/script&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>CSS (sticky-footer.css):</p>
  
  <pre><code>/* Sticky footer styles
  -------------------------------------------------- */
  
  html,
  body {
    height: 100%;
    /* The html and body elements cannot have any padding or margin. */
  }
  
  /* Wrapper for page content to push down footer */
  #wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /* Negative indent footer by its height */
    margin: 0 auto -60px;
    /* Pad bottom by footer height */
    padding: 0 0 60px;
  }
  
  /* Set the fixed height of the footer here */
  #footer {
    height: 60px;
    /*background-color: #f5f5f5;*/
  }
  
  #mytextbox {
      min-height: 100%;
      height: auto !important;
      width: 100%;
      height: 100%;
  }
  </code></pre>
  
  <p>What should I do to make the textarea fill the space (scale to the page)?</p>
  
  <p>Thanks.</p>