I have a position: fixed div in a layout, as a sidebar. I\'ve been asked to have part of it\'s content stay fixed to the top of it (internally), and the rest to
position: fixed
It seems to work if you use
div#scrollable { overflow-y: scroll; height: 100%; }
and add padding-bottom: 60px to div.sidebar.
padding-bottom: 60px
div.sidebar
For example: http://jsfiddle.net/AKL35/6/
However, I am unsure why it must be 60px.
60px
Also, you missed the f from overflow-y: scroll;
f
overflow-y: scroll;