1,ie8 不支持li:first 2,ie8 不支持fadein(); 解决方法:重写fadein() <script type="text/javascript"> jQuery.fn.fadeIn = function(speed, callback) { return this.animate({ opacity: 'show' }, speed, function() { if (jQuery.browser.msie) this.style.removeAttribute('filter'); if (jQuery.isFunction(callback)) callback(); }); }; jQuery.fn.fadeOut = function(speed, callback) { return this.animate({ opacity: 'hide' }, speed, function() { if (jQuery.browser.msie) this.style.removeAttribute('filter'); if (jQuery.isFunction(callback)) callback(); }); }; jQuery.fn.fadeTo = function(speed,to,callback) { return this.animate({ opacity: to }, speed, function() { if (to == 1 && jQuery.browser.msie) this.style.removeAttribute('filter'); if (jQuery.isFunction(callback)) callback(); }); }; </script> 参考资料:http://www.gaoxueping.com/archives/304 3,背景透明,文字不透明的兼容写法: .a{background:rgba(81, 180, 71,0.77); } .a p{color: #FFFFFF;} @media \0screen\,screen\9 {/* 只支持IE6、7、8 */ .a{ background:#51b447; filter:Alpha(opacity=77); *zoom:1; /* 激活IE6、7的haslayout属性,让它读懂Alpha */ } .a p{ position: relative;/* 设置子元素为相对定位,可让子元素不继承Alpha值 */ } } 参考资料:http://www.cnblogs.com/PeunZhang/p/4089894.html