<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">maybe comic enough but i cannot serve an html file that is linked to css file.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">
<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">test.html</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">
<div class="gmail_default"><html></div><div class="gmail_default"><head></div><div class="gmail_default"><link rel="stylesheet" type="text/css" href="~/mystyle.css"></div><div class="gmail_default">
</head></div><div class="gmail_default"><br></div><div class="gmail_default"><body></div><div class="gmail_default"><span class="" style="white-space:pre"> </span>asdf</div><div class="gmail_default"></body></div>
<div class="gmail_default"><br></div><div class="gmail_default"></html></div><div><br></div><div>mystyle.css</div><div><br></div><div><div>body</div><div>{</div><div><span class="" style="white-space:pre"> </span>background-color:tan;</div>
<div>}</div></div><div><br></div><div>this html is rendered when i double click it.</div><div>but i cannot serve it with style aded.</div><div>alt console says:</div><div><div>127.0.0.1 - [2014-03-09 22:09:46] "GET /test HTTP/1.1" 200 114 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.74.9 (KHTML, like Gecko) Version/7.0.2 Safari/537.74.9"</div>
<div>127.0.0.1 - [2014-03-09 22:09:46] "GET /~/mystyle.css HTTP/1.1" 404 360 "<a href="http://localhost:5050/test">http://localhost:5050/test</a>" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.74.9 (KHTML, like Gecko) Version/7.0.2 Safari/537.74.9"</div>
</div><div><br></div><div>What should i do?</div></div></div>