请教ie6下css下拉菜单不响应
想要实现点击子菜单后更改主菜单内容, 在ie6下更改完主菜单后, hover没有响应,请问问题出在哪里?
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<style>
.menu {
margin:0;
margin:0px 0;
}
.menu ul {
padding:0;
margin:0;
list-style-type: none;
}
.menu ul li {
float:left;
position:relative;
}
.menu ul li a, .menu ul li a:visited {
display:block;
text-align:center;
text-decoration:none;
width:104px;
height:30px;
color: #0033FF;
border:1px solid #fff;
border-width:1px 1px 1px 1px;
background:#fff;
line-height:30px;
font-size:12px;
}
.menu ul li ul {
display: none;
}
table {
border-collapse:collapse;
margin:0;
padding:0;
}
.menu ul li a:hover {
color:#0033FF;
background:#ffffff;
}
.menu ul li a:hover ul {
display:block;
position:absolute;
top:32px;
left:0;
width:105px;
cursor:pointer;
}
.menu ul li a:hover ul li a {
background:#faeec7;
color:#0033ff;
}
.menu ul li a:hover ul li a:hover {
background:#dfc184;
color:#000;
}
</style>
<titl
相关问答:
用vc 读取html文件怎么得到css里面定义的字体样式。比如我网页的一段代码为:
<style type="text/css">
<!--
.STYLE7 {font-weight: bold; font-family: "宋体"; color: #F ......
请问一下开发手机网页,有没有好一点的CSS库?
比如pc上的blue print,yahoo的css库之类的
谢谢!
CSS 模版吧
哪里有比较成熟的手机浏览器用的CSS模版?
手机上是不是要用wap css?
好像有开源的CSS
......
HTML code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org ......
我的样式表写的是:
body{
margin-left: 15%;
margin-right: 15%;
......
以下是代码,可以另存为 .html 格式查看效果。
HTML code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt ......