Search code examples
htmlcssinternet-explorerstylesheetinternet-explorer-10

IE10 will not load a CSS stylesheet of a certain name


This is one of the strangest things I have ever seen. In the HTML file I have this link tag -

<link rel="stylesheet" href="../../Classroom/engine/repository/PAGE_010100027/css/custom.PAGE_010100027.css">

The CSS is properly loaded and interpreted in all browsers save for IE10. I added the type="text/css" attribute in case the MIME type was somehow wrong -

<link type="text/css" rel="stylesheet" href="../../Classroom/engine/repository/PAGE_010100027/css/custom.PAGE_010100027.css"> 

Still no dice.

So I copied the file and renamed it wtf.css (just for giggles) and changed the link tag to -

<link rel="stylesheet" href="../../Classroom/engine/repository/PAGE_010100027/css/wtf.css">

It loads and interprets perfectly in IE10. :-/

We can name the file anything we want other than *custom.PAGE_010100027.css* and it will load fine in IE10. Even just changing one number. Does anyone have an idea why this isn't working? I'm stumped and I cannot find anything on the web concerning the naming of CSS files for IE10 and the other couple of hundred CSS files in this project using this naming convention load and interpret just fine. Thanks for any insight!

UPDATE I have confirmed that it is an odd caching issue of some sort. Whenever cache-busting techniques are applied the CSS file is loaded and interpreted correctly. Removing the cache-busting techniques causes IE10 to revert to a much older stylesheet. This only occurs on this one page (out of a couple of hundred).


Solution

  • In reading about related IE10 issues it could be related to the OS (Win8 versus Win7) and this setting: "Use TLS 1.0" (unchecking may solve the issue).