Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

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

Open
riegelj opened this Issue Feb 4, 2014 · 1 comment

Comments

Projects
None yet
1 participant

riegelj commented Feb 4, 2014

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 Feb 4, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment