我想构建一个页面,其中页面中间的某个DIV
元素是可水平滚动的(大宽度+ overflow-x: scroll
)。滚动条将出现在这个DIV
的底部。水平滚动+滚动条
是否可以在页面最底部显示一个滚动条(所以不在div底部),它只滚动页面中间那个可滚动的DIV
中的内容?
我问这个问题,因为我想将内容放置在可滚动的DIV
下面,我希望用户能够通过位于此内容下的滚动条滚动水平线DIV
。
<body>
<div id="wrap">
<div class="slider">
# Slider content here
</div>
<ul class="job_listings scrollable">
<li>job 1</li>
<li>job 2</li>
<li>job 3</li>
<li>job 4</li>
</ul>
<div class="about us">
# About us content here
</div>
** here I want the scrollbar of the ul job_listings to appear, at the very bottom of the page **
</div>
</body>
能否请您分享的HTML,以及你想什么呢? – 2015-03-02 12:56:53
更多信息请 – Lafontein 2015-03-02 13:07:13
我添加了我的html代码示例 – 2015-03-02 13:11:00