Forum Moderators: not2easy

Message Too Old, No Replies

CSS and IIS 5

sometimes style shhet does load?

         

Misao

11:32 pm on Dec 4, 2002 (gmt 0)

10+ Year Member



Hi all,

Just wondering if anyone else has seen this (i.e I am not going insane - just slightly crazy :) ).

Basically, in IE 5.5 (and also I have seen it happen in IE 6 - so I think it may have something to do with the web server), that the page does not load the CSS at all.

It is just basic CSS, for font styles and stuff.

The webservers we have are running IIS 5.0 on a W2K server.

Has anyone else seen these, or (even better) know how fix it? It only happens intermittently, but I have never seen it happen on a webserver on NT4, so .. hmm, dunno .. ideas?

Cheers :)

zollerwagner

3:55 am on Dec 5, 2002 (gmt 0)

10+ Year Member



Whenever this has happened to me, it was because I changed the file structure (like a new folder name) or the name of the files, or the javascript that choses the css files. Little things like a capital letter or a missing or added slash caused a lot of the problems . . . and they were hard to find.

I don't think I've ever had a server problem. But I was always suspicious of the server because--Hey! I knew what I was doing! Oops.

Good luck

Misao

4:28 am on Dec 5, 2002 (gmt 0)

10+ Year Member



yeah, it is strange, most of the time it works perfectly fine, but 1% of the time, just every now and then, the style sheet just does not seem to load.
hit refresh, and it loads and the page looks fine....
though i am wondering if it has something to do with the fact that it is using xslt for the display, and there is a java servlet backend that does the transformation etc ... hmm ....

choster

9:12 pm on Dec 5, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Misao, I am told that adding "media=screen" to the stylesheet import link, i.e.


<link rel="stylesheet" href="/mycss.css" media="screen" />

improves IE's consistency in loading the stylesheet.