I have two fixed width div(#left and #right)
in html. There's a table
in the left div
with long width rows.
我在html中有两个固定宽度的div(#left和#right)。左侧div中有一个表格,宽行为宽。
I have to drag vertical scroll bar of all page to the end when I am willing to drag horizontal bottom scroll bar of left div.
当我愿意拖动左div的水平底部滚动条时,我必须拖动所有页面的垂直滚动条到最后。
Here's my question: Is there a way to make sure the horizontal bottom scroll bar of left div
always in the bottom of current view?
这是我的问题:有没有办法确保左div的水平底部滚动条始终位于当前视图的底部?
<body>
<div id="left" style="width:40%;float:left;">
<table>
<!--many rows and cols here-->
</table>
</div>
<div id="right" style="width:40%;">
<!--lots of elements here-->
</div>
</body>
1 个解决方案
#1
0
Use overflow:auto; CSS if you want vertical scroll in any div.
使用overflow:auto; CSS如果你想在任何div中垂直滚动。
#1
0
Use overflow:auto; CSS if you want vertical scroll in any div.
使用overflow:auto; CSS如果你想在任何div中垂直滚动。