下划线Hacks可以使我们针对IE6之类的设置一些属性
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>下划线hacks</title>
<style type="text/css">
p
{
color:red;
_color:blue;
}
</style>
</head>

<body>
<p>段落文本<p>
</body>
</html>
 
通过在属性名前加下划线,这样IE6认识,火狐之类的不认识,这样可以为IE添加些特殊的属性设置。
这个有点像前面的!importan里。
 
注:以上为在IE7以上测试过。