title: 2-column fixed-fluid lay-out with fixed horizontal bars and scrolling content
body: <p>Looking through this site, and others, I've not found a solution for this specific matter. What I want to achieve could be best described after viewing the following example (also placed below):
  <a href="http://jsfiddle.net/yev8/HRQB5/" rel="nofollow">http://jsfiddle.net/yev8/HRQB5/</a></p>
  
  <p>The current situation:
  In this example I have a left column (fixed width) and a right column (liquid width). In the right column there are four bars. The two bars aligned to the top are the same on every page. The two bars aligned to the bottom are different on every page, every combination of the two is possible. Now In the middle I have a div, "content", which fills up the available space and, if necessary, has a vertical scrollbar.</p>
  
  <p>What I want to achieve:
  I would like the div's scrollbar to be replaced with a scrollbar covering the whole page vertically, like the default scrollbar. When scrolling, the left menu and all the bars should not change their position. The only thing scrolling should be the middle content div.</p>
  
  <p>I don't know if this is possible, but in the ideal situation I would like to fix this with css only. If this is not possible, javascript (with or without jQuery) will work.</p>
  
  <p>Can anyone give me any suggestions or point me in the right direction? I just can't seem to get it to work the way I want.</p>
  
  <p>My current html:</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html lang="nl"&gt;
      &lt;head&gt;
          &lt;meta http-equiv="Content-Type" content="text/html;charset=utf-8" &gt;
          &lt;title&gt;&lt;/title&gt;
          &lt;link href="css/stylesheet.css" rel="stylesheet" media="screen"&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;div id="wrapper"&gt;
              &lt;div id="left"&gt;
                  &lt;ul&gt;
                      &lt;li&gt;&lt;a href="#" title=""&gt;Menu item&lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href="#" title=""&gt;Menu item&lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href="#" title=""&gt;Menu item&lt;/a&gt;&lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/div&gt;
              &lt;div id="right"&gt;
                  &lt;div id="bar-1"&gt;bar-1&lt;/div&gt;
                  &lt;div id="bar-2"&gt;bar-2&lt;/div&gt;
                  &lt;div id="content"&gt;
                      &lt;div style="height:400px;background-color:#ff0;"&gt;&lt;/div&gt;
                      &lt;div style="height:400px;background-color:#f0f;"&gt;&lt;/div&gt;
                      &lt;div style="height:400px;background-color:#0f0;"&gt;&lt;/div&gt;
                      &lt;div style="height:400px;background-color:#00f;"&gt;&lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div id="bar-3"&gt;bar-3&lt;/div&gt;
                  &lt;div id="bar-4"&gt;bar-4&lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>My current css:</p>
  
  <pre><code>html, body {
      height: 100%;
      background-color: #fff;
      color: #2f2f2f;
      overflow: hidden;
      padding: 0;
      margin: 0;
      border: 0;
      outline: 0;
  }
  
  div#wrapper {
      height: 100%;
      margin: auto;
      position: relative;
  }
  
  div#left {
      height: 100%;
      float: left;
      width: 256px;
      overflow-y: auto;
      background-color: #fcfcfc;
  }
  
  div#right {
      height: 100%;
      position: relative;
      margin-left: 256px;
  }
  
      div#right div#bar-1 {
          overflow: hidden;
          position: absolute;
          left: 0;
          right: 0;
          height: 64px;
          top: 0;
          background-color: #eaeaea;
      }
  
      div#right div#bar-2 {
          overflow: hidden;
          position: absolute;
          left: 0;
          right: 0;
          top: 64px;
          height: 32px;
          background-color: #979797;
      }
  
      div#right div#content {
          position: absolute;
          left: 0;
          right: 0;
          top: 96px;
          bottom: 224px;
          overflow-y: scroll;
      }
  
      div#right div#bar-3 {
          overflow: hidden;
          position: absolute;
          left: 0;
          right: 0;
          bottom: 128px;
          height: 96px;
          background-color: #eaeaea;
      }
  
      div#right div#bar-4 {
          overflow: hidden;
          position: absolute;
          left: 0;
          right: 0;
          bottom: 0;
          height: 128px;
          background-color: #d5d5d5;
      }
  </code></pre>