Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

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

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

Comments

@riegelj
Copy link

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
Copy link
Author

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant