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>
  <h2>Wish</h2>
  <p>Height of #left should always be at least 300px; if the content of #right grows beyond 300px, #left should be equal to #right.</p>
  <p>The height of the #inner-content should always be max of #left (so either 300px or equal to #right). If the content is bigger, a scrollbar should appear</p>
  
  <h2>Current situation</h2>
  <p>The #inner-content does not show a scrollbar if the content is greater than the height of #left.</p>
  
  <div id="wrapper">
    <div id="left">
      <div id="inner-content">dffddf
      </div>
    </div>
    <div id="right">
    </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