| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
CSS bg image syntax help, please | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() You can't use "Smarty" tags in the CSS. Take out {$ImagesDir} and replace it with the path to the image.
|
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|