Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/40.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_Fixed - Fatal编程技术网

Html 固定收割台工作不正常

Html 固定收割台工作不正常,html,css,fixed,Html,Css,Fixed,我想为我的网站创建一个固定的标题。这就是我目前拥有的: 我需要标题显示在我的滑块上。我错过了什么?我似乎无法理解。为类“header\u menu”指定z-index属性。我用以下属性签入firebug,工作正常 .header_menu{ z-index: 999; } } .header_menu { background-attachment: scroll; background-clip: border-box; background-color: #000000; backg

我想为我的网站创建一个固定的标题。这就是我目前拥有的:


我需要标题显示在我的滑块上。我错过了什么?我似乎无法理解。

为类“header\u menu”指定z-index属性。我用以下属性签入firebug,工作正常

.header_menu{
   z-index: 999;
}
}

.header_menu {
background-attachment: scroll;
background-clip: border-box;
background-color: #000000;
background-image: url("http://fc06.deviantart.net/fs70/f/2014/112/b/a/header_bg_by_destinyjade-d7flhv4.png");
background-origin: padding-box;
background-position: 0 0;
background-repeat: repeat-x, repeat;
background-size: auto auto;
position: fixed;
width: 100%;
z-index: 10000;