【发布时间】:2014-05-27 09:54:38
【问题描述】:
我有这个菜单栏:http://jsfiddle.net/PtQAP/ 我需要把它放在底部,下拉菜单变为下拉菜单。 我该怎么做?
css:
ul, li, a {
margin: 0;
padding: 0;
}
li {
list-style: none;
}
a {
text-decoration: none;
color: #000000;
}
ul > li {
float: left;
}
ul > li a {
color: #fff;
font-weight: bold;
line-height: 40px;
height:40px;
display:block;
padding:0px 10px;
}
ul li a:hover {
background: #666666;
}
ul li ul {
display: none;
position: absolute;
background: #333333;
}
ul li ul li {
float: none;
line-height: 40px;
height: 40px;
}
感谢您的回答。
【问题讨论】:
标签: javascript jquery html css menu