Recently, we noticed that CSS fails to load on IE9 over SSL, is there a way to fix this issue? We're using asp.net and IIS. Is there some setting that needs to be done to fix the issue?
Asked
Active
Viewed 74 times
1 Answers
2
This happens because mixing http and https content in the same page can sometimes be a security risk.
To fix it, either specify that the css always be https, or (better) use Schema-less URLs. A schema-less url simply omits the "http:" or "https:" part of the address. Instead of something like "http://www.example.com/style.css
", you do this: "//www.example.com/style.css
".

Community
- 1
- 1

Joel Coehoorn
- 399,467
- 113
- 570
- 794