一、基本概念
*能被IE6、7识别
!important能被IE7、FF
_能被IE6识别
二、实例
复制代码代码如下:
#wrapper
{
width: 100px!important; /* IE7+FF */
width: 80px; /* IE6 */
}
#wrapper2
{
width: 100px;
_width: 80px; /* IE6 */
}
CSS中针对IE6、7和FF等浏览器的特殊样式写法
CSS实现连续数字和英文的自动换行的方法
下一篇 »