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

Access is denied to: file~PIE.htc
http://css3pie.com/forum/viewtopic.php?f=3&t=3388
Page 1 of 1

Author:  Megahexe [ Thu May 08, 2014 10:43 am ]
Post subject:  Access is denied to: file~PIE.htc

I have seen this question/problem come up several times, but the resolutions have been ineffective for me. So...

I have reduced the code to the bare minimum in an attempt to isolate the problem, but still no joy. Here's the code:

Code:
<style>
.css3-pie-gradient{
   width: 660px;
   height: 200px;
   margin-left: 15px;
   position: relative;
   background-color: #009900;

   border-radius: 12px 12px 12px 12px;
   -webkit-border-radius: 12px 12px 12px 12px;
   -khtml-border-radius: 12px 12px 12px 12px;
   -moz-border-radius: 12px 12px 12px 12px;
   -o-border-radius: 12px 12px 12px 12px;

   box-shadow: 0px 2px 8px 1px rgba(0, 0, 0, 0.5);
   -webkit-box-shadow: 0px 2px 8px 1px rgba(0, 0, 0, 0.5);
   -khtml-box-shadow: 0px 2px 8px 1px rgba(0, 0, 0, 0.5);
   -moz-box-shadow: 0px 2px 8px 1px rgba(0, 0, 0, 0.5);
   -o-box-shadow: 0px 2px 8px 1px rgba(0, 0, 0, 0.5);

   behavior: url('_res/_css/PIE_1/PIE.htc');
}
</style>

<div class="css3-pie-gradient"><!-- --></div>


The path to the *.htc is correct (I've also tried moving the *.htc to the root.dir; no joy there either), the position is set to relative, so I'm at a loss as to why this isn't working.

This test page can be viewed at: http://gu3media.com/NSSC/tester.htm

This is (mostly) comparable to http://www.a2zwebhelp.com/css3-pie, but while their example works, mine does not.

Any suggestions/help would be greatly appreciated.

-Iain

Author:  jason [ Wed May 14, 2014 8:54 pm ]
Post subject:  Re: Access is denied to: file~PIE.htc

Your test page link is returning 404 so I cannot investigate.

Your best bet to narrow things down is to examine the network requests with something like Fiddler. See if the correct file contents are being returned, check the HTTP headers are correct, etc.

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