Search code examples
cssinternet-explorer-9browser-bugs

Why is css missing after refreshing on IE9?


I am having an issue that is only happening on Browser Mode:IE9.

If I switch Browser Mode to any other browser it works fine.

This is what happens: When I arrive on the page, the CSS is there and everything looks fine. However if I refresh the CSS goes away and I lose my styling. If I click to anywhere else on my site then the CSS is still there. This only happens on my site that is hosted locally.


Solution

  • This sounds like if the css file is loaded from cache when you navigate normally, but fails to load when it has to be reloaded because you refresh the page. This would mean that it has existed before, but now is inaccessible. Did you try opening the css url in browser?