我已经定制了一个横幅和一个下拉菜单。将鼠标悬停在菜单上时会出现下拉菜单。如果我滚动此菜单不会低于横幅,它会超过写横幅。
我的菜单 css3 代码
#menu ul {
background: -moz-linear-gradient(#444444, #111111) repeat scroll 0 0 transparent;
border-radius: 5px 5px 5px 5px;
display: none;
float: left;
left: 0;
list-style: none outside none;
margin: 0;
padding: 0;
position: absolute;
top: 30px;
width: 200px;
z-index: 99999;
}
style.css (line 305)
ol, ul {
list-style: none outside none;
border: 0 none;
font-size: 100%;
line-height: 1.2em;
margin: 0;
padding: 0;
vertical-align: baseline;
}
the header or banner css:
#the_header {
background: -moz-linear-gradient(center top , #000000 0%, #45484D 100%) repeat scroll 0 0 transparent;
border-bottom: 1px solid #BBBBBB;
box-shadow: 0 0 10px #000000;
color: #EEEEEE;
font-size: 30px;
font-style: italic;
height: 30px;
line-height: 30px;
padding: 30px;
position: fixed;
text-align: center;
text-shadow: 1px 1px 1px #000000;
top: 0;
width: 100%;
z-index: 1000;
}
这里有什么问题?