I'd like to have this layout, using only css:
<div id="container">
  <div id="base-height">
    <pre>
      some
      items
      with dynamic height
    </pre>
  </div>
  <div id="with-scroll">
    some other content with vertical scroll, if it is higher than div#base-height
  </div>
</div>
div#container should have the same height as div#base-height. div#base-height and div#with-scroll should be displayed side by side. If div#with-scroll is higher than div#base-height, it should have vertical scroll.