最简单的CSS Hack: 区分 IE6 / IE7 /IE8 /Firefox

代码:
selector{
property:value; /* 所有浏览器 */
property:value\9; /* 所有IE浏览器 */
+property:value; /* IE7 */
_property:value; /* IE6 */
}

当然,注意顺序。根据CSS的优先性,上面的写法,分别针对Firefox、IE8、IE7和IE6显示值。
原文地址:https://www.cnblogs.com/nianshi/p/1526819.html