I don't think it's the case because static dir is relative to your app.py. Take a look in rendered source from your browser. Compare what you wrote with what you get in there. You should see the same: <link rel="stylesheet" type="text/css" href="/static/styles.css" />
Another thing you should see is your browser's cache. I'm facing some issues with it. Try turn off browser's cache. I hope it helps. On Tuesday, 19 June 2012 05:03:36 UTC-3, Ash Courchene wrote: > > Um... not that Im aware of. Is that something I need to do? > If so, pardon my ignorance but how would one do that? > > On Tuesday, 19 June 2012 00:22:40 UTC-4, Tomas Schertel wrote: >> >> Have you changed current directory using os.path maybe? >> >> On Monday, 18 June 2012 23:26:15 UTC-3, Ash Courchene wrote: >>> >>> Oh. Also, when i add the trailing slash, I get this: >>> >>> Error response >>> >>> Error code 404. >>> >>> Message: File not found. >>> >>> Error code explanation: 404 = Nothing matches the given URI. >>> >>> On Monday, 18 June 2012 22:25:12 UTC-4, Ash Courchene wrote: >>>> >>>> nope, all I get is a "Not Found" in the corner of the page. >>>> Im not even sure what to do anymore... :( >>>> >>>> On Monday, 18 June 2012 22:19:58 UTC-4, Anand wrote: >>>>> >>>>> On Tue, Jun 19, 2012 at 7:47 AM, Ash Courchene < >>>>> [email protected]> wrote: >>>>> > oh yeah... I did that. It just didn't seem to work no matter what I >>>>> did. >>>>> > with the / at the beginning, without the /... I'm not even sure. >>>>> > Oh well, i'll figure something out. Thanks >>>>> >>>>> Do you see a directory listing on http://0.0.0.0:8080/static/ ? >>>>> >>>> -- You received this message because you are subscribed to the Google Groups "web.py" group. To view this discussion on the web visit https://groups.google.com/d/msg/webpy/-/Tg4ly0pfDhIJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
