Hi,<br>
<br>
I have been using twisted quite a bit these last 6 months for a networked application i&#39;m<br>
working on. Recently, i&#39;ve decided to port the web part of the app from spyce to nevow.<br>
However, i have encountered a problem with using css file. My css file has references to<br>

image files like below:<br>
<br>
<i>...<br>body {<br>    background: #EEE url(img/bg.gif);<br>    color: #444;<br>    font: normal 62.5% &quot;Lucida Sans Unicode&quot;,sans-serif;<br>    margin: 0;<br>}<br>...</i><br>
<br>
The following is a test file that loads an external xml file which references a css file:<br>

<br>
<i>class TestPage(rend.Page):<br>    addSlash = True<br>    child_images = static.File(&#39;img&#39;)<br>    children = {&#39;default.css&#39;: static.File(&#39;default.css&#39;)}<br>    docFactory = loaders.xmlfile(&#39;webtest.html&#39;)<br>


<br>site = appserver.NevowSite(TestPage())<br>reactor.listenTCP(8080, site)<br>reactor.run()</i><br>
<br>
The problem is that the images referenced inside the css file is not being loaded when<br>
the page is rendered. Can someone tell me how to fix this? This is the first time i&#39;ve used <br>

nevow or even twisted.web.<br>
<br>
Thank you very much.<br>
<br>
Regards,<br><font color="#888888">
<font color="#888888">Eric</font>
</font>