HTML 页面滚动错误
HTML pagescroll error
我的页面滚动不起作用,任何人都可以针对以下代码提出解决方案,..
<div id="ascrail2001" class="nicescroll-rails" style="width: 6px; z-index: 1000; cursor: default; position: fixed; top: 0px; height: 100%; right: 0px; opacity: 0; background: rgb(64, 64, 64);">
<div style="position: relative; top: 0px; float: right; width: 6px; height: 32px; border-radius: 10px; background-color: rgb(232, 64, 63); background-clip: padding-box;">
</div>
</div>
谢谢...
删除position: fixed;
或
将overflow:scroll;
添加到内框。
Banana 也说过,你的 div 中应该有内容(文本、图像...)。
我遇到的问题,因为我在代码的开头添加了js文件。现在我改变了它并解决了我的问题。愚蠢的错误。谢谢@banana、@im1dermike 和@lisztomania
我的页面滚动不起作用,任何人都可以针对以下代码提出解决方案,..
<div id="ascrail2001" class="nicescroll-rails" style="width: 6px; z-index: 1000; cursor: default; position: fixed; top: 0px; height: 100%; right: 0px; opacity: 0; background: rgb(64, 64, 64);">
<div style="position: relative; top: 0px; float: right; width: 6px; height: 32px; border-radius: 10px; background-color: rgb(232, 64, 63); background-clip: padding-box;">
</div>
</div>
谢谢...
删除position: fixed;
或
将overflow:scroll;
添加到内框。
Banana 也说过,你的 div 中应该有内容(文本、图像...)。
我遇到的问题,因为我在代码的开头添加了js文件。现在我改变了它并解决了我的问题。愚蠢的错误。谢谢@banana、@im1dermike 和@lisztomania