On Sun, Jun 17, 2012 at 11:11 AM, Ash Courchene <[email protected]> wrote:
> Hello everyone,
>
> I bet this question gets asked like 1000 times a day, but Im having trouble
> getting the stylesheet to work. I set up a static directory/folder like the
> web.py cookbook describe, but I CAN NOT figure out why it's not working.
> I'll show you how I set up the directory, and Im working on the built-in
> server - I guess? Im still kind of new, but I followed the install
> instructions, so whatever server that is, Im using it. The address I type in
> to see it is http://localhost:8080/...
> Anyway, here is the directory setup.
>
> /website
>   -app.py
>   /static
>     -styles.css
>   /template
>     -index.html
>     -layout.html
>
>
> Then in the layout code, I have <link rel="stylesheet" type="text/css"
> href="static/styles.css" /> in between the <head></head> tags, but nothings
> working. If someone could point me in the right direction, that'd be great.

I think you should use "/static/styles.css" instead of "static/styles.css".

Anand

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
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.

Reply via email to