我的二级LI标签为什么会读取到1级LI标签的样式
时间:2011-04-18
来源:互联网
CSS code
#ll是二级UL的ID
#menu{float:left; width:960px; height:31px; position:relative} .menujg1{float:left; width:12px; height:31px; overflow:hidden} #menu ul li{float:left; width:106px; height:31px; margin:0 5px 0px 0 ; display:inline; background:url(../images/menubg.png) no-repeat; font-family:Verdana, Geneva, sans-serif; font-size:14px; font-weight:600; text-align:center; line-height:34px;_line-height:34px;*line-height:34px;} #ll{float:left; width:106px; height:31px; margin:0 5px 0px 0 ; display:inline; background:url(../images/menubg2.png) no-repeat !important; font-family:Verdana, Geneva, sans-serif; font-size:14px; font-weight:600; text-align:center; line-height:34px;_line-height:34px;*line-height:34px; text-indent:-15px; position:relative; z-index:1000} #menu ul li .pnow{float:left; width:106px; height:31px; background:url(../images/menubg3.png) no-repeat !important; font-family:Verdana, Geneva, sans-serif; font-size:14px; font-weight:600; text-align:center; line-height:34px;_line-height:34px;*line-height:34px; color:#fff} #menu ul li a:hover{float:left; width:106px; height:31px; background:url(../images/menubg4.png) no-repeat !important; font-family:Verdana, Geneva, sans-serif; font-size:14px; font-weight:600; text-align:center; line-height:34px;_line-height:34px;*line-height:34px; color:#000;} #ll a.pnow3:hover{float:left; width:106px; height:31px; background:url(../images/menubg5.png) no-repeat !important; font-family:Verdana, Geneva, sans-serif; font-size:14px; font-weight:600; text-align:center; line-height:34px;_line-height:34px;*line-height:34px; color:#000; display:block;} #ll a.pnow3{display:block; width:106px; height:31px;} #k1{display:none; position:relative; z-index:900} #k1 li{float:left; width:345px !important; display:block; background:#ffffff !important;} #bh{float:left; width:347px;} #k1 .ddnewhead_goods_panel {position:absolute;top:28px;width:352px;height:113px;border:1px solid #ee7304;z-index:400;overflow:hidden;}
#ll是二级UL的ID
作者: dean7788 发布时间: 2011-04-18
二级的LI会读取到一级的LI
作者: dean7788 发布时间: 2011-04-18
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28