2014-02-26 82 views
0

我有一个网站是一个页面滚动类型。我在顶部有一个固定的菜单,这在桌面浏览器上正常工作。但它不适用于移动设备,菜单只保留在顶部,当您向下滚动时它会消失。固定顶部菜单不能在移动工作

我的头CSS是:

#header { 
background: url('../_images/menu_bg.png'); 
padding-top: 10px; 
position: fixed; 
top: 0; 
left: 0; 
z-index: 9000; 
width: 100%; 
height: 80px; 
} 
+0

http://www.larcohintonburg.com/css/styleMobile.css - 'line 1092'你有'#header {position:relative; }' –

回答

3

行:1092你styleMobile.css的你有这样的CSS代码片段:

#header { 
positioN: relative; 
} 

去除修复该问题。

+0

感谢这工作。 – user1110562