Jorey Bump
list at joreybump.com
Thu Nov 8 13:36:12 EST 2007
Pavel Panchekha wrote, at 11/08/2007 01:11 PM: > I'm writing a site in mod_python publisher. However, I have a slight > problem. I have a separate folder for css files: resources/styles. When > I request index.py, it outputs a psp template that links to the said css > file. So far, so good. But when I submit a form to index.py/add, the > same template links again to resources/styles, which the browser > interprets as index.py/resources/styles, which does not exist. > > How do I go about fixing this? Use an absolute path from the site root: <link rel="stylesheet" type="text/css" href="/resources/styles/main.css" />
|