IE will not read external stylesheet

[quote=“codegirl, post:17, topic:97809, full:true”]The page works fine online and on co-workers computers. Just not my IE. It’s not a problem in FF or Chrome.
[/quote]

Lol. This is why I think it’s just your page. If this is true then it’s just your system.

Hi,

I am also facing the same issue. Did you get any solution please?

@krishna, start your own thread and highlight your problem, along with giving us what version of IE the issue is, and a link to your website.

Hi krishna,

It was my system. I transferred my working files to another computer and the problem went away. I could never identify the problem but it vanished when I scrubbed the hard drive and reloaded the OS and my software. If it works for everyone else but you, then it’s you. (sounds like relationship advice…)

5 Likes

Codegirl - I am having the same problem. But scrubbing the hard drive and reloading the OS is a pretty radical solution. Of course, that’s Microsoft Tech Support’s solution to everything. I’m gonna keep looking for something less onerous…

Hi hennesse,

Oh, I agree. I just didn’t have the time/resources to go through each piece of software to find the sneaky little culprit. If you can, you can shut down programs one at time until everything works correctly. But I needed to get back to work so this was the easiest fastest solution for me. For me, the problem’s gone now. I wish you good luck. Let us know your final solution.

Codegirl,

After searching and searching, it seems that you and I are the only ones in the world who have this problem. In the F12 console, I found: SEC7113 “CSS was ignored due to mime type mismatch”. Discussion here: MSDN. It seems that IE9 and above “sniff” the HTTP headers for the correct MIME type, and ignore JS and CSS that have the wrong header. When it fetches files from the local filesystem, it should disable this sniffing, since there aren’t any real HTTP headers. But our two computers (and nobody else’s) are sniffing and ignoring anyway.

For grins, I tried changing type=text/css to text/plain - the error message went away, but the CSS still did not work. Apparently, IE has developed some other funky rules to ignore text/plain’s in many circumstances.

Well, I seem to have found the cause of the problem, but how to fix it? No idea. Maybe someone else can take it from here.

I work in Dreamweaver/Firefox, and only use IE as a final compatibility check after I’ve loaded stuff to a server, so it’s taken me a long time to encounter this problem. Heck, the only reason I did is that I developed a little personal extension to BeerSmith (a homebrewing beer Win application) that I haven’t used since the XP (IE8) days. Beersmith can be tweaked to invoke the IE on the user’s computer, but unfortunately can’t invoke other, more reasonable, browsers. Since I’m the only one using my personal extension, I took the cowardly way out - I just hit F12, and select the IE8 mode. Works fine. Slightly cumbersome, but it sure beats reloading the OS.

Imagine if Microsoft made cars. You’d take your car in for an oil change, and they’d recommend removing the engine, scrubbing it, and reinstalling it…

Oh, and since our two computers seems to have been meant for each other, I was going to ask you to marry me. But your computer has moved on, so I’m rescinding the offer.

  • Dave