PDA

View Full Version : CSS background image not showing in template


atif93
07-15-2012, 12:55 PM
hey everyone!
when i used a template for my pages and attached a CSS file to it,
every property except the background image is working. the image address is root relative and i double checked it but in vain. the same page works fine if not saved as a template..
pls help..

Chapster5
07-16-2012, 08:55 AM
div-name {
background-image: url ('../images/background.png');
}

Make sure you have your syntax something like that obviously the address will be different. One tiny flaw in the code will corrupt everything. Make sure you haven't missed off any ; at the end of lines of code and } to finish the decleration