[thelist] Problem with external CSS files on IIS 6.0, Windows 2003

Kasimir K evolt at kasimir-k.fi
Sat Aug 14 10:22:31 CDT 2004


SED wrote on 14/08/2004 17:25:
> I'm trying to get CSS work in a normal HTML-page on a IIS 6.0 on Windows
> 2003 server. When I view the HTML-page normally, e.g. through IE locally,
> Dreamweaver etc., it works great! But when I view the page through IE via
> the IIS 6.0 on Windows 2004 the CSS doesn't affect the HTML document. If I
> type the CSS name directly into IE it shows on the screen. Does anyone else
> experiences the same problem? If so, did you manage to get it work?

Make sure that IIS's MIME settings are correct, so that it serves .css 
files as: Content-Type: text/css
I've seen a setup where IIS was serving them as application/octet-stream

Can you give a link to the problem site?

.k


More information about the thelist mailing list