You can do it using position:fixed. Any <div> with position:fixed will not move when you scroll. Don't know how other browsers will reacte to this but it works in IE7. Here is a very crude example...
Main Topics
Browse All TopicsHi,
How to set up the browser scrollbar to scroll div?
As in all the other div's are fixed except for the one which is to scroll rather having its own scroll bar as in
overflow: scroll; it uses the browsers main scroll
this to be done is css if possible
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Ok... It seems that you can do this with just CSS if....
1) You have fixed heights on your columns.
or
2) You want the footer to appear at the bottom of the content regardless of browser window size.
However, if you want the footer to appear at the bottom of the browser window all the time then yes, you need to use some javascript. If there is a purely CSS way then it is beyond me.
Anyway, I have come up with the following solution. I hope it meets your needs...
(Only tested in IE7 but I have tried to make it as compatible as I can.)
Well its not working because you have everything enclosed by your CENTER and MAINFRAME <div>s which you had set to position:fixed. In other words, everything inside them is fixed too. Changing these two to relative will mean that your HEADER <div> and everything in it (you don't need to fix these things either as their container is fixed) stays in place while the rest scrolls with the scrollbar.
Your FOOTER is not showing because you have set the margins and z-index wrong. Use top: 350px not margin-top: 350px to position it. It also has a z-index that is lower than your CENTER <div> which is why it is hidden behind it. Move the FOOTER inside the MAINFRAME, remove the left setting and replace all margin settings with simply margin: 0. Delete the z-index setting from your CENTER <div> and then your FOOTER will appear below your MAINCONTENT.
Business Accounts
Answer for Membership
by: ti84pPosted on 2009-08-06 at 15:26:09ID: 25038684
I don't think this is possible with just css. A lot of javascript could vary the height of the page and detect the scroll position of the page, then convert that into display for the div, but this would be very complex.