You should always use paths relative to the CSS file. Like this:
url(../img/menu.jpg)
Btw did you try going to that image file from the browser? If you're
using the built in development server, you need to set up static file
serving.
Erik
On 30.09.2008, at 12:13, Bobo wrote:
>
> Hi
A good start is to check you can view
http://yoursite.com/site_media/img/menu.jpg
directly, if you get an error it will probably point you in the right
direction.
On Sep 30, 10:13 am, Bobo <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I'm having a very strange problem with my Django project.
Hi everyone,
I'm having a very strange problem with my Django project. I’ve a menu
with several links but I want to make a hover effect with it and for
that I use pictures.
The problem is that my path in my CSS won’t work and the pictures
aren’t loaded and therefore not shown in the menu.
My
3 matches
Mail list logo