I have three div
as below :
<div id="left"></div>
<div id="center"><table></table></div>
<div id="right"></div>
Now what i need to do is to keep #left
and #right
fixed for horizontal scroll and scroll #center
only. This is working with css position:fixed
for #left
and #right
. But the problem is when i scroll html page vertically i need all the div's
i.e. #left
,#center
and #right
to scroll. This is not working. Please anyone help me how to do it so that #left
and #right
scrolls vertically along with #center
and remains fixed for horizontal scroll. I have no clue how to do it using css and make it work.