<!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=gb2312" />
<title>无标题文档</title>
<!--[if IE]>此内容只有IE可见<![endif]-->
<!--[if IE6.0]>此内容只有IE6.0可见<![endif]-->
<!--[if !IE6.0]>此内容只有IE可见<![endif]-->
<!--[if gt IE]>此内容只有IE可见<![endif]-->
<!--[if IE 6.0]>
<style type="text/css">
@import url("style.css");
</style>
<![endif]-->
<style type="text/css">
@import url("jiustyle.css");/*IE6.0以上和Firefox支持;*/
@import url("newstyle.css") screen;/*IE8.0和Firefox浏览器支持;IE8.0以下都不支持;*/
body{
font-size:14px;
}
#content{ font-size:12; color:#0000FF;}
#content/**/{ font-size:30px; color:#FF00FF;}/*IE8.0和Firefox浏览器支持;IE8.0以下都不支持;*/
span.left{color:#009900;}
span[class=left]{color:#0000FF;}/*IE8.0和Firefox浏览器支持;IE8.0以下都不支持;*/
#xm{font-size:12px; color:#000000;}
[xmlns] #xm{font-size:20px; color:#FF0000;}/*IE8.0和Firefox浏览器支持;IE8.0以下都不支持;*/
span p{border:5px solid #009900;}
span>p{border:2px solid #000000;}/*IE8.0和Firefox浏览器支持;IE8.0以下都不支持;*/
#vf{
color:#0000FF;/*IE5解析这里*/
voice-family:"/"}/"";
voice-family:inherit;
color:#FF0000;/*仅IE6以上和Firefox解析这里,IE5.5一下无法解析*/
}
#vf{
color:red; /*IE6,Mozilla,Firefox可见*/
voice-family:""}"";
voice-family:inherit;
color:blue; /*IE5可见*/
}
html>#vf{
color:blue;
}
</style>
</head>
<body>
<div id=content>
<h1 id=xm>利用</h1>Css hack技术,<span class="left">解决<p>浏览器</p>的兼容</span>问题的<h2 id=vf>测试</h2>;
</div>
</body>
</html>