p, ul, ol, dl, dt, dd, form, blockquote { margin: 0; padding: 0; } a { text-decoration: none; color: #333333; } a:hover { text-decoration: underline; color: #C70D0E; } ul, ol { list-style: none; } /* -- mainnav -- */ .topdiv{ background-color: #f4f4f4; } .tbnav{ } .mainnav { margin-bottom: 10px; height: 35px; font-size: 14px; background-color: #E0E0E0; } /* LEVEL ONE */ .nav { margin-bottom: 10px; height: 35px; font-size: 14px; position: relative; z-index: 1000; } .nav li { background-color: #E0E0E0; float: left; zoom: 1; list-style: none; } .nav li a { display: block; width: 101px; padding: 0 12px; text-align: center; border-right: 1px solid #F4F4F4; line-height: 35px; height: 35px; color: #000000; text-decoration: none; } .nav li a:hover, .nav li.cur a { background: #19B4EA; } .nav li .first { background: #E0E0E0 url(../images/main_nav_left.gif) no-repeat left top; width: 74px; } .nav li:hover .first, .nav li.cur .first { background: #19B4EA url(../images/main_nav_left.gif) no-repeat left bottom; } .nav li .last { background: #E0E0E0 url(../images/main_nav_right.gif) no-repeat right top; margin-right: -1px; } .nav li:hover .last, .nav li.cur .last { background: #19B4EA url(../images/main_nav_right.gif) no-repeat right bottom; } .nav li ul { position:absolute; float:left; min-width: 125px; _width: 125px; background: #E0E0E0; display:none;} /*这是第二级菜单*/ .nav li ul li { font-weight: normal; background: #E0E0E0; height:35px; line-height: 35px; border-top: 1px solid white; float:none; } .nav li ul a { min-width: 125px; _width: 125px; } .nav li ul a:hover { background: #19B4EA;} .nav li ul ul{ top:0;left:150px;} /*从第三级菜单开始,所有的子级菜单都相对偏移*/