#test{
color:red; /* 所有浏览器都支持 */
color:red !important;/* Firefox、IE7支持 */
_color:red; /* IE6支持 */
*color:red; /* IE6、IE7支持 */
*+color:red; /* IE7支持 */
color:red\9; /* IE6、IE7、IE8支持 */
color:red\0; /* IE8支持 */
}
IE6 IE7 IE8 IE9 FF 兼容标志,利用这几个浏览器的本身的解析的规范来做先后渲染
FF IE7 IE6 3个都解析 普通样式如 {margin-top:10px;}
IE8,IE9对这2个解析 css hacks样式如 {+margin-top:5px\0;}
IE9对这个解析 css hacks样式如 {+margin-top:5px\9\0;}
IE7 IE6 对这2个解析 css hacks样式如 {+margin-top:5px;} 对IE7 IE6 第二次渲染 覆盖之前 margin-top:10px;
IE6 仅对IE6个解析 css hacks样式如 {_margin-top:5px;} 对 IE6 第三次渲染 覆盖之前 +margin-top:5px;