lojjic / PIE

A behavior for Internet Explorer allowing it to recognize and render various CSS3 box decoration properties
http://css3pie.com
Other
2.79k stars 235 forks source link

CSS3Pie Gradients not working on ASPX page but displaying on MVC page #293

Open riegelj opened 10 years ago

riegelj commented 10 years ago

The version of CSS3 Pie is 1.0.0 Were using IE9 and have a solution that has a mix of MVC and ASPX. PIE.htc is in the root of our website and referenced from css as behavior: url(/PIE.htc); we are using https we are using forms authentication and have added an allow entry in our web.config as follows: (Opening and closing tags removed for display purposes) location path="PIE.htc" system.web authorization allow users="*" authorization system.web location

Using developer tools I see the mime type is correctly set to text/x-comonent and the result is 304 When I navigate to any MVC page our gradient displays. When I navigate to any ASPX page our gratiden does not display. The reposnse/requests for PIE look the same in each case.

riegelj commented 10 years ago

We resolved this. We noticed that if you cleared the browser cache it worked correctly. Fixing the CSS resolved the issue, there was an entry on the body and another on a div which must have been conflicting. Removed the body behavior and resolved the issue.