I have a simple web page with header and content, it may look like
<div id="wrap">
<div id="header">
</div>
<div id="content">
</div>
</div>
By default, it have a scroll bar in the right, but I want to disable/freeze the scroll bar in header, but remain it in content, is it possible to do this by javascrip/jquery or css?
Thanks
BEFORE

AFTER

You can achieve this by giving the content a fixed height, and setting
overflow-y: scroll.Example: http://jsfiddle.net/XLaVa/