选择符前缀法
<style>
*html .test{width:100px;} /*only for IE6*/
*+html .test{width:100px;}/*for IE6 7*/
</style
样式属性前缀法
<style>
.test{_width:100px;} /*only for IE6*/
.test{*width:100px;}/*for IE6 7*/
</style
选择符前缀法
<style>
*html .test{width:100px;} /*only for IE6*/
*+html .test{width:100px;}/*for IE6 7*/
</style
样式属性前缀法
<style>
.test{_width:100px;} /*only for IE6*/
.test{*width:100px;}/*for IE6 7*/
</style
转载于:https://www.cnblogs.com/fang8580/p/3866217.html