Use images in CSS file

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
vengo
Posts: 1
Joined: Fri Oct 01, 2004 2:55 pm

Use images in CSS file

Post by vengo »

Hi there,
Is it possible to use (background)images in the CSS file, like:
background-image: url('image.jpg') ??

I cannot get it right because the path is not valid. Or is the only solution to make it hard-coded ?

Thx
tomsommer
Core Developer
Posts: 240
Joined: Tue Sep 02, 2003 6:43 pm
Location: Denmark
Contact:

Post by tomsommer »

Check the default style.css file for a clue on how to do this with the {TEMPLATE_PATH} variable.
Tom Sommer (Serendipity Core Developer)
http://blog.dreamcoder.dk
Post Reply