![]() |
CSS bg image syntax help, please
What's the correct syntax for specifying a <body> or <div> background image? I don't know whether my syntax is off, whether I've just got a minor type, or whether it's because it's nearly 3:00 am, but my stylesheet isn't working. My tile image is in the skin1/images folder:
.pageBG { background-image: url({$ImagesDir}/pageBGtile.jpg); background-repeat: repeat-y; } Thanks. Suz |
You can't use "Smarty" tags in the CSS. Take out {$ImagesDir} and replace it with the path to the image.
|
All times are GMT -8. The time now is 10:48 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.