I'm using Pie.htcfile that enable Css3 in IE8. when i navigate my page to a HTML file every things is OK:
Code:
webbrowser.Navigate("url address");//OK(C# Code)
but when i use:
Code:
webbrowser.DocumentText=myhtmlcontent;//(C# Code)
it's return an error "access denied to PIE.htc"
i search a lot but no success
Html Code(test page) Code:
<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>