On 12/27/06, Jason <[EMAIL PROTECTED]> wrote:
So now that I add an about page, as www.foo.com/about what I get is a bunch of 404 errors because it's looking form my CSS and images in: /about/css/styles.css (should be /css/styles.css) and images references in the CSS in about/css/i/abc.png (should be i/abc.png). I don't really want to keep recurring and linking my file system to make this work.
Hi Jason, You need to write absolute urls in your html, for example, instead of: <link href="css/styles.css" rel="stylesheet" type="text/css" /> You have to: <link href="/css/styles.css" rel="stylesheet" type="text/css" /> Notice the slash at the beginning of "/css/styles.css". Regards, Jorge --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" 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/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

