Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/84.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 为什么单击顶部菜单中的链接时不工作?_Html_Css - Fatal编程技术网

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;
}