我测试过了,的确会影响ie8;
但是教程里说\9\0不会影响;
http://jingyan.baidu.com/article/c45ad29cd41857051753e215.html
请往下翻看老版教程;
附上我的截图:
css:background: blue;
background: red\0;
background: yellow\9\0;
ietester下:
虚拟机ie8下:
我测试过了,的确会影响ie8;
但是教程里说\9\0不会影响;
http://jingyan.baidu.com/article/c45ad29cd41857051753e215.html
请往下翻看老版教程;
附上我的截图:
css:background: blue;
background: red\0;
background: yellow\9\0;
ietester下:
虚拟机ie8下:
经过测试,发现问题出在你和你提供的链接使用了不同的CSS属性,你测试的是background,你提供的链接测试的是color。
通过下面的页面,可以发现,对于color,\9\0确实对IE8确实不起作用,但是对于background,它又是起作用的。
<html>
<head>
<style type="text/css">
.background {
background: orange;
background: red\9;
_background: blue;
*background: green;
background: yellow\9\0;
}
.color {
color: orange;
color: red\9;
_color: blue;
*color: green;
color: yellow\9\0;
}
</style>
</head>
<body>
<div class="background">
This is a test!
</div>
<div class="color">
This is a test!
</div>
</body>
</html>