找到CSS文件的nav部分
换成- /* nav style */
- .nav {width:960px; position: relative; margin:0px auto;
- background: url(../images/nav_bg.png) no-repeat 0 -36px;
- }
- .navinner {
- background: url(../images/nav_bg.png) no-repeat 100% -72px;
- }
- .navlist {
- height: 36px;
- line-height: 36px;
- overflow: hidden;
- margin: 0 10px;
- background: url(../images/nav_bg.png) repeat-x 0 0;
- }
- .nav li {
- float: left;
- display: inline;
- margin: 0 0 0 -2px;
- padding: 0 4px 0 6px;
- background: url(../images/nav_bg.png) no-repeat 0 -108px;
- }
- .nav a {
- display: block;
- width: 110px;
- text-align: center;
- font-size: 120%;
- }
- .nav a:link, .nav a:visited {
- color: #fff;
- }
- .nav a.current, .nav a:hover, .nav a:active {
- color: #fff;
- font-weight: bold;
- background: url(../images/nav_bg.png) no-repeat 50% -144px;
- }
- .subnav {
- position: absolute;
- top: 41px;
- left: 0;
- float: left;
- height: 27px;
- line-height: 27px;
- white-space: nowrap;
- background: url(../images/nav_bg.png) no-repeat 0 -180px;
- }
- * html .subnav {
- margin: 0 10px 0 -10px; /* IE 6 and below */
- }
- .subnav p {
- padding: 0 10px;
- background: url(../images/nav_bg.png) no-repeat 100% -234px;
- }
- .subnav p span {
- display: block;
- background: url(../images/nav_bg.png) repeat-x 0 -207px;
- }
- .subnav p.pointer {
- position: absolute;
- top: -4px;
- left: 0;
- height: 5px;
- width: 11px;
- padding: 0;
- margin-left: 20px;
- text-indent: -999em;
- background: url(../images/nav_bg.png) repeat-x 0 -261px;
- }
- .subnav a {
- display: inline;
- padding: 0;
- font-size: 100%;
- }
- [class~="subnav"] a {
- padding: 0 3px;
- }
- .subnav, .subnav a:link, .subnav a:visited {
- color: #235e99;
- }
- .subnav a:hover, .subnav a:active {
- color: #235e99;
- }
- .subnav a:hover, .subnav a:active {
- font-weight: normal;
- background: none;
- border-bottom: 2px solid;
- }
- /* subnav position and pointer position */
- #subnav1 { left: 125px; }
- #subnav2 { left: 250px; }
- #subnav3 { left: 360px; }
- #subnav4 { left: 480px; }
- #subnav5, #subnav6, #subnav7 {
- left: auto;
- right: 0px;
- }
- #subnav1 .pointer { left: 40px; }
- #subnav2 .pointer { left: 35px; }
- #subnav3 .pointer { left: 40px; }
- #subnav4 .pointer { left: 40px; }
- #subnav5 .pointer { left: auto; right: 310px; }
- #subnav6 .pointer { left: auto; right: 190px; }
- #subnav7 .pointer { left: auto; right: 80px; }
- #subnav1, #subnav2, #subnav3, #subnav4 {
- min-width: 110px;
- }
- #subnav5 { min-width: 340px; }
- #subnav6 { min-width: 240px; }
- #subnav7 { min-width: 130px; }
- /* Note
- ==========================================================*/
- .note {
- margin: 0 15px 10px;
- color:#666666;
- }
- .note span{
- float:right;
- }
- .disable {
- display: none;
- }
复制代码 |