我的 html 页面中有两个部分及其各自的 css
<html>
<head>
#lowerone
{position:absolute; bottom:25px; right:25px; height:300px; width:300px;}
#upperone
{position:absolute; bottom:25px; right:25px; height:300px; width:300px; overflow:scroll;}
</head>
<body>
<div id="lowerone">
</div>
<div id="upperone">
<img src="/bg.3.jpg" />
</div>
</body>
</html>
但是上面的 div,即 UPPERONE 是 unscrollabe.. 如何使其可滚动?
最佳答案
使用 2 个绝对定位的 div 相互重叠有什么具体原因吗?更多<style>
标签丢失了……滚动对我有用……
关于css - 两个重叠的分区,但上一个分区不可滚动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13903454/