<br><div><br></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
</div>It sounds like the css is being served with a &quot;Content-Type: text/html&quot;<br>
header instead of a &quot;Content-Type: text/css&quot; header.  You should double<br>
check this using another tool (eg HEAD(1) or telnet(1)).  If this is the<br>
case, then you may need to add css to your site-wide mime.types file<br>
(sounds gross, I know, sorry) or add the necessary item to the mapping<br>
loaded by Twisted Web.<br>
<br>
See `twisted.web.static.File.contentTypes`.  If it does not have an<br>
entry for css, or has the wrong content-type for it, that&#39;s the problem.<br>
Since you mention running on Windows, I think this is a likely<br>
explanation; it wouldn&#39;t surprise me if Windows didn&#39;t include a very<br>
complete mime types database (or one at all, or Twisted Web doesn&#39;t know<br>
how to load it).<br>
<br>
Jean-Paul<br>
<br>
_______________________________________________<br>
Twisted-web mailing list<br>
<a href="mailto:Twisted-web@twistedmatrix.com">Twisted-web@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web</a><br>
</blockquote></div><br>Thanks for the info.<div><br></div><div>I have checked out contentTypes and it would appear to be present {css: text/css).</div><div><br></div><div>What I have not been able to pin down is where the content type is being set or unset or being left as html.</div>
<div><br></div><div>Chrome seems to read in the css file but still does not do what I expect. Firefox still says it will not load the resource.</div><div><br></div><div>So everyone can find it but they all say it is typed as text/html.</div>
<div><br></div><div>I imagine no one else has seen this, since all the comments I see say that once they set up the static File it all starts to work.</div><div><br></div><div>Looks like more ploughing through docs and code.</div>
<div><br></div><div>Thanks</div><div><br></div><div>John Aherne</div><div><br></div>-- <br><b>John Aherne</b><div><b><br></b><div><b><img src="http://www.rocs.co.uk/Images/rocs_logo_sig.gif"><br></b></div><div><b><br></b></div>
<div><div><b><a href="http://www.rocs.co.uk" target="_blank">www.rocs.co.uk</a><br></b></div></div></div><div>020 7223 7567</div><br>
</div>