#menu ul{ padding:0; border:0; list-style:none; line-height:150%; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 15px; } #menu_out{ width:100%; background:url(../images/menu_bg.gif) repeat-x; } #menu_in{ background:url(../images/menu_bg.gif) no-repeat right top; padding-right:4px; } #menu{ background:url(../images/menu_bg.gif) repeat-x; height:73px; width:1200px; margin:0 auto; } .menu_line{ background:url(../images/menu_line.gif) no-repeat center top; width:8px; } .menu_line2{ background:url(../images/menu_line2.gif) no-repeat center top; width:15px; } #nav{ padding-left:20px; } #nav li{ float:left; height:35px; } #nav li a{ float:left; display:block; padding-left:6px; height:35px; background:url(../images/menu_on_left.gif) no-repeat left top; cursor:pointer; text-decoration:none; } #nav li a span{ float:left; padding:11px 14px 10px 10px; line-height:14px; background:url(../images/menu_on_right.gif) no-repeat right top; font-size:14px; font-weight:bold; color:#FFFFFF; text-decoration:none; } #nav li .nav_on{ /*鼠标经过时变换背景,方便JS获取样式*/ background-position:left 100%; } #nav li .nav_on span{ /*鼠标经过时变换背景,方便JS获取样式*/ background-position:right 100%; color:#333333; text-decoration:none; padding:14px 14px 7px 10px; } /*子栏目*/ #menu_con{ text-align:left; padding-left:20px; clear:both; } #menu_con li{ float:left; height:22px; margin-top:8px; } #menu_con li a{ display:block; float:left; background:url(../images/menu_on_left2.gif) no-repeat left top; cursor:pointer; padding-left:3px; } #menu_con li a span{ float:left; padding:6px 10px 4px 10px; line-height:12px; background:url(../images/menu_on_right2.gif) no-repeat right top; } #menu_con li a:hover{ text-decoration:none; background:url(../images/menu_on_left2.gif) no-repeat left bottom; } #menu_con li a:hover span{ background:url(../images/menu_on_right2.gif) no-repeat right bottom; }