Hey, here's what I'm trying to do: There is one scrollable div with a fixed size, say 400x400 px. Inside there are two divs: div div and data div. Their height and width vary. What I want to do is scroll horizontally both the headers and the data, but only the data vertically. In other words, I want the div title to be fixed vertically, but scrollable horizontally and the data grid is fully scrollable. here is the setting:
<div style="height: 400px; width: 400px; overflow: scroll; position: static;" >
<div style="z-index: 7500; position: fixed; height: 100px; width: 800px">
//header
</div>
<div style="poxition: relative; top: 100px; width: 800px; height: 2000px">
//data
</div>
</div>
I tried something like this:
<div style="height: 400px; width: 400px; overflow: scroll; overflow-y: hidden; position: static;" >
<div style="z-index: 7500; height: 100px; width: 800px; position: relative">
//header
<div style="height: 400px; width:auto; overflow: scroll; overflow-x: hidden; position: static;" >
<div style="position: relative; top: 100px; width: 800px; height: 2000px">
//data
</div>
</div>
it works fine except for the vertical scrollbar ... well ... it scrolls horizontally with my div div, I need it to display all the time.
, div? mb, , style = "position-y: fixed; position-x: relative"