Html 为什么单击顶部菜单中的链接时不工作?
我有这一页: 在这个页面上,我有一些链接在上面Html 为什么单击顶部菜单中的链接时不工作?,html,css,Html,Css,我有这一页: 在这个页面上,我有一些链接在上面contulmeu |收藏|结帐|登录|注册 代码HTML: <div class="grid_12"> <h1 class="logo">//some code HTML</h1> <div class="nav-container"> //some code HTML </div> <div class="top-dropdowns
contulmeu |收藏|结帐|登录|注册
代码HTML:
<div class="grid_12">
<h1 class="logo">//some code HTML</h1>
<div class="nav-container">
//some code HTML
</div>
<div class="top-dropdowns">
//some code HTML
</div>
</div>
.grid_12 {
width: 1170px;
z-index: 100; //If I delete the code then runs
margin-top: -28px; //If I delete the code then runs}
我怎样才能使我的DVD在下面通过,以保留设计并给出并单击按钮?将
z-index:99999
添加到。顶部开关bg
类
谢谢,工作,但如果我添加此代码,我的徽标将被隐藏…您试图添加此代码以查看?:DJust remove
margin top:-28px代码>至.grid_12
且错误已修复是,但损坏徽标位置。。。他必须留在原地。。。标志应该在上面吗\
.top-switch-bg {
z-index: 99999; //added this
background-color: #f9f9f9;
}