浏览器滚动条在我的固定div下 [英] Browsers scrollbar is under my fixed div
本文介绍了浏览器滚动条在我的固定div下的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个固定的标题,宽度为100%.
i have a fixed header with 100% width.
#header {
background: #2e2e2e;
width: 100%;
z-index: 999;
position: fixed;
}
浏览器滚动条在我的固定div下.该如何解决?
browsers scrollbar is under my fixed div. How to fix that?
推荐答案
其原因在于base.css第9行的overflow-x: hidden;
its because the overflow-x: hidden;
in base.css line number 9
body {
color: #444444;
font: 13px/20px Arial,Helvetica,sans-serif;
overflow-x: hidden; // remove this
}
这篇关于浏览器滚动条在我的固定div下的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文