我确信我忽略了一些简单的事情。但是我网站的顶部导航(下拉菜单)不再可见。我 100% 确定它与我应用的 css 有关。
.ulTopmenu {margin:0; padding:0; width: 100%; overflow:hidden;}
.liTopMenu {width: 120px; height: 40px; float: left; margin:0 4px; list-style:none; display: inline;}
.divTopMenuInnerContainer {display: inline; overflow:hidden; height:500px;width:900px;}
.divTopMenuInnerContainer{position:relative;height:100%;width:80%;}
.divTopSpliter {float:left; width:1px; height:40px; display:block; border-right:1px;}
.divTopTopSpliter {float:left; width:30px; height:1px; display:block;}
.a {
width: 120px;
height:25px;
line-height: 40px;
text-decoration: none;
text-align: center;
}
/* End of General */
.divTopSubMenuSpliter {height:1px;width:auto;background:#0000; margin-top:1px; margin-bottom:1px;}
div.absolute {
position: relative;
right: 20px;
width: 200px;
height: 50px;
}
最佳答案
对于下拉导航栏的 css,可能需要让它可见。
尝试这样的事情:
navBar{
visibility: visible;
}
让我知道这是否有效。
关于CSS 隐藏了我的下拉菜单,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43244948/