Thanks guys for the valuable recommendations. I tried this one before > background-image: url(/media/images/base/ gradient2.png)
Didn't work then, will give it a try later. *am loving django. Cheers! Max On Feb 16, 5:54 pm, MikeKJ <mike.jo...@paston.co.uk> wrote: > background-image: url(/media/images/base/gradient2.png) > > eg > > On Feb 15, 12:37 pm, Kolbe <maximilian.jack...@gmail.com> wrote: > > > > > > > > > Hi all, > > > I have a .css file in the /static/ folder where I keep all my styles. > > > Now when I want to refer to images that I use in my CSS that are > > stored in the /media/ folder, how do I reference that? > > > e.g. background-image:url('gradient2.png'); > > > gradient2.png is stored in ~/media/ and my css is in ~/static/ > > > Is there a way to define the path to gradient2.png? > > > Cheers! > > Max -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.