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. 嵌套水平滑块与单击控件
  2. Tkinter小部件上的垂直和水平滚动条
  3. SQL Server表中某些字段含有水平制表符、换行符、回车符、反斜杠
  4. Android SDK:RelativeLayout - 按钮不会水平居中,即使Layout_Cent
  5. Android 可拖动的进度条:SeekBar之简单使用
  6. Android 可拖动进度条:SeekBar之自定义进度条
  7. Android自定义View-----上下拖动布局--SlideContentLayout
  8. Android从零开搞系列:自定义View(15)仿天天美剧拖动卡片的效果(下)
  9. 拖动层的javasvript代码 十行代码即可写出兼容版拖动层

随机推荐

  1. 为什么java中序列化的serialVersionUID总
  2. 微服务还没彻底普及,宏服务又要来了?
  3. android 性能检测资料合集
  4. ktolin开发android的扩展包android-ktx
  5. 记一次三元表达式的坑(避免采坑)
  6. 单例模式的十种写法,你会几个?(重写版)
  7. Android之相机的使用
  8. 使用adb sideload 本地OTA升级Nexus 5(An
  9. Android之view虚线
  10. CopyOnWriteArrayList,一个面试中经常问