/* CSS Document */ .dh_bg { width: 100%; height: 40px; } /* CSS Header */ .nav { width: 1006px; height: 45px; margin: 0 auto; clear: both; background: url(../image/dh_bg.png);z-index: 99999; position: relative; margin-top: -40px; } .nav li{ width:99px; height:40px; line-height:40px; float:left; text-align:center;position:relative; margin:0 12px;} .nav li a{ color:#ffffff; font-family:"微软雅黑"; font-size:16px; display:block; } .nav li:hover,.nav li a.on{ height:40px; line-height:40px; text-decoration:none;color:#fff; position:relative; background:url(http://www.jstjqxh.com/App/Home/View/Default/Public/Css/dh_focus.png) no-repeat center top; } .nav li:hover a{ color:#fff; text-decoration:none} .banner_bg{width: 100%;margin:0 auto;} #div1 li .xiala { display: none; background: url(../image/xiala.png) no-repeat;width: auto;padding-top: 10px;padding-bottom: 10px; text-align:center; z-index:100;position:absolute;height:auto;background-size:100% 100%;} #div1 li .xiala p{height:30px; font-family: "宋体";text-align:center;line-height: 30px;padding-left: 15px;padding-right: 15px;} #div1 li .xiala p:hover{background:url(../image/dh_focus2.png) no-repeat center top; background-size:100% 100%;} #div1 li .xiala p a{color:#fff;font-size:14px;white-space:nowrap;}