拒绝访问PIe.htc [英] Access denied to PIe.htc
本文介绍了拒绝访问PIe.htc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用Pie.htc(http://css3pie.com/)文件,该文件在IE8中启用Css3.当我将页面导航到HTML文件时,一切正常:
I''m using Pie.htc(http://css3pie.com/) file that enable Css3 in IE8. when i navigate my page to a HTML file every things is OK:
webbrowser.Navigate("url address");//OK
但是当我使用时:
but when i use:
webbrowser.DocumentText=myhtmlcontent;
返回错误拒绝访问PIE.htc"
我搜索了很多但没有成功
HTML代码(测试页)
it''s return an error "access denied to PIE.htc"
i search a lot but no success
Html Code(test page)
<html>
<head>
<style type="text/css">
.Highlight
{
border: 1px solid #696;
text-align: center;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
-webkit-box-shadow: #666 0px 2px 3px;
-moz-box-shadow: #666 0px 2px 3px;
box-shadow: #666 0px 2px 3px;
background: #EEFF99;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#EEFF99), to(#66EE33));
background: -webkit-linear-gradient(#EEFF99, #66EE33);
background: -moz-linear-gradient(#EEFF99, #66EE33);
background: -ms-linear-gradient(#EEFF99, #66EE33);
background: -o-linear-gradient(#EEFF99, #66EE33);
background: linear-gradient(#EEFF99, #66EE33);
-pie-background: linear-gradient(#EEFF99, #66EE33);
behavior: url(/PIE.htc);
}
</style>
</head>
<body>
<p class="Highlight">asd <span >asd</span> as d sad </p>
</body>
</html>
推荐答案
这是与第三方相关的问题.我建议您首先查看他们的文档,如果需要,请在他们的论坛中查找/发布.您将有更好的听众在这里查找和回答您的问题.
在这里尝试:
css3pie-文档 [ ^ ]
css3pie-论坛 [ ^ ]
在文档"中,查看提到的相同域限制",导致出现类似错误.
It''s a third party related issue. I would suggest you to first look at their documentation and if needed look/post at their forum. You will have better audience to look and reply your question there.
Try here:
css3pie - documentation[^]
css3pie - forum[^]
In Documentation, look at "Same-domain limitation" mentioned leading to similar error you are getting.
这篇关于拒绝访问PIe.htc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文