CSS3 PIE Forums
http://css3pie.com/forum/

Access denied to PIe.htc
http://css3pie.com/forum/viewtopic.php?f=4&t=1824
Page 1 of 1

Author:  irsog [ Sun Oct 14, 2012 11:13 pm ]
Post subject:  Access denied to PIe.htc

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>

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/