Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/35.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Internet explorer PIE.htc不适用于IE8_Internet Explorer_Css_Internet Explorer 8_Css3pie - Fatal编程技术网

Internet explorer PIE.htc不适用于IE8

Internet explorer PIE.htc不适用于IE8,internet-explorer,css,internet-explorer-8,css3pie,Internet Explorer,Css,Internet Explorer 8,Css3pie,我在服务器上下载了PIE.htc的未压缩版本 HTML <!DOCTYPE html > <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Test</title> <link href="test.css" rel="stylesh

我在服务器上下载了PIE.htc的未压缩版本

HTML

<!DOCTYPE html >
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>Test</title>
        <link href="test.css" rel="stylesheet" type="text/css" />

    </head>
    <body>
        <div id="wrapper">          
            <div class="inside-wrapper">
                testing
            </div>
        </div>
    </body>
</html>
我还使用以下代码添加了一个PIE.htaccess

AddType text/x-component .htc
我的IIS服务器已配置为.hta作为文本/x组件

所有文件都位于此处

C:\inetpub\wwwroot\testing
我在IE8中没有圆角。我错过了什么


如果我点击F12->查看css->取消选中
行为:url(PIE.htc);边框半径:5px
->,然后再次检查,它可以工作,但当我刷新页面时,圆角丢失。

通过下载压缩文件(PIE.htc)解决。未压缩文件(PIE_uncompressed.htc)不起作用。

如果使用IIS,htaccess文件将不会起任何作用。它现在可以工作了。我下载了压缩文件。够奇怪的了-未压缩文件(PIE_uncompressed.htc)不工作。很高兴你解决了它。把解决方案记下来作为下面的答案,并接受它。这将帮助将来可能发现问题的其他人。
C:\inetpub\wwwroot\testing