.news_type_content{ height: 365px; background: url(../img/content_bg.gif) repeat-x; } .news_type_content li{ height: 30px; line-height: 30px; } .news_type_content li a{ color: #666; background: url(../img/li_bg.gif) no-repeat left center; padding-left: 15px; display: block; } .news_type_content li a:hover{ color: #009CDF; background: url(../img/li_bg2.gif) no-repeat left center; background: #F2F2F2; }
把最后那句改成background-color:#f2f2f2;就好了,原因是最后一句把上面那句覆盖了