views:

83

answers:

2

In the page I'm working there are 2 divs vertically. Now I want to show the upper div always to the user and there would be scrollbar for the 2nd div (having a fixed height) as the content grows. Now the problem is at the right of this forced scrollbar for the 2nd div there is some space left for the normal scrollbar of the browser. Can i suprees this normal scrollbar so that the scroolbar for the 2nd div mimic the normal one. Any help would be much appreciated.

+2  A: 

Specify body {overflow-y:hidden} in your CSS.

Note that this won't work for IE6, where the vertical scrollbar is always there.

RegDwight
A: 

Hi, am also facing the same problem, can anyone help me too?

sampada
Stack overflow works on a voting/reputation system. Adding "me too" does not make the question any more popular.
Tony Miller