I met a very strange problem, in fact, half a month ago to find the problem, but due to the TS group to deal with, so, has not been written down, today to do the record it.
Let's start by writing an HTML page to facilitate testing:
HTML code
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 "/>
<link id= "Maincss" type= "Text/css" rel= "stylesheet" href= "Http://www.cnblogs.com/Skins/UandMe/style.css"/>
<link type= "Text/css" rel= "stylesheet" href= "Http://www.mio-tour.com.tw/style/style.css"/>
<body>
AAAAAAAAA in order to facilitate the testing of everyone
<a href= "http://www.bianceng.cn/index.php#" >ccccccccccccc</a>
</body>
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 "/>
<link id= "Maincss" type= "Text/css" rel= "stylesheet" href= "Http://www.cnblogs.com/Skins/UandMe/style.css"/>
<link type= "Text/css" rel= "stylesheet" href= "Http://www.mio-tour.com.tw/style/style.css"/>
<body>
AAAAAAAAA in order to facilitate the testing of everyone
<a href= "http://www.bianceng.cn/index.php#" >ccccccccccccc</a>
</body>
Write it and save it as UTF-8 encoded. Then use Firefox to open it. If normal, the mouse hover over the CCCCCC should be orange. But it's actually brown. If you open this page with IE, it will show an orange color.
Then you can download the following CSS file, save it locally, then address it, and then open it with Firefox ... It's orange, too.
All right, let's play a weird one. We restored the following CSS address to my original address. And then the top row of the validation delete, refresh ... How about, or orange bar.
Well, look at the effect, summed up the question: Why Firefox can not be validated XHTML in the case of the following CSS reference, if there is a problem with CSS, then why the CSS download to the local point it, but it can be used? This bizarre problem is that I stumbled upon when I published the project. All IE have no problem, ff2.x,ff3.x have tried, all have problems. Using Firebug to see that CSS has actually been downloaded, but it does not work.
It's weird. Of course, I've found the problem now: on the proxy server of the website.
With a standard validated page, the Apatech agent determines it for text/html, not text/css. So, that is, download down, still can not use. and FF is more strictly enforced, so, then can not be implemented.