As an additional test I took the simple demo from twisted web in 60 seconds and checked that out.<div><br></div><div><div>from twisted.web.server import Site</div><div>from twisted.web.static import File</div><div>from twisted.internet import reactor</div>
<div><br></div><div>resource = File('/tmp')</div><div>resource.indexNames = ['adminuser.html']</div><div>factory = Site(resource)</div><div>reactor.listenTCP(8888, factory)</div><div>reactor.run()</div><div>
<br></div><div>The adminuser.html has the same sort of link to get the css and in this case all renders successfully.</div><div><br></div><div>But here the whole site is set up as static so I can see why that might have worked.</div>
<div><br></div><div>For anyone really interested below is the css as well.</div><div><br></div><div><div>body {</div><div> padding-left: 11em;</div><div> color: black;</div><div> background-color: #ff0000 }</div><div> </div>
<div>h1 {</div><div> color: orange;</div><div> }</div><div> </div><div>ul.navbar {</div><div> list-style-type: none;</div><div> padding: 0;</div><div> margin: 0;</div><div> position: absolute;</div><div> top: 2em;</div>
<div> left: 1em;</div><div> width: 7em }</div><div>h1 {</div><div> font-family: Helvetica, Geneva, Arial,</div><div> SunSans-Regular, sans-serif }</div><div>ul.navbar li {</div><div> background: #ececec;</div><div>
margin: 0.5em 0;</div><div> padding: 0.3em;</div><div> border-right: 1em solid black }</div><div>ul.navbar a {</div><div> text-decoration: none }</div><div>a:link {</div><div> color: maroon }</div><div>a:visited {</div>
<div> color: blue }</div><div>address {</div><div> margin-top: 1em;</div><div> padding-top: 1em;</div><div> border-top: thin dotted }</div><div> </div><div>.layout1 {</div><div> background-color: f2f2f2;</div><div>
color: red;</div><div> align: center;</div><div> width: 50%</div><div>}</div><div><br></div><div>.box1 {</div><div> background-color: #efefef;</div><div> height: 20%</div><div>}</div></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>