Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  <div id="outer">
    <div id="header">
      The content in this div is dynamic.<br>
      Bacon ipsum dolor sit amet sirloin chicken ground round ball tip, pancetta prosciutto beef pork chop t-bone. Bacon t-bone venison rump fatback filet mignon.
    </div>
    <div id="body">
      <textarea>
This textarea should fill the rest of the available space in #outer div. The total height of the #header + #outer div may never exceed the fixed #outer height of 300px.
      </textarea>
    </div>
  </div>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers