View Single Post
  #1  
Old 04-28-2004, 11:49 AM
 
Smalls Smalls is offline
 

Advanced Member
  
Join Date: Apr 2004
Location: Ontario
Posts: 30
 

Default CSS & background images

I'm currently trying to get my CSS working here:
http://www.xtrememotions.ca/customer/home.php

It is attaching the CSS file because the text is changing color, but the images for the backgrounds and such never work.

Here's some sample code from the skin1.css file:
.rightside {
background-image: url({$ImagesDir}/d1-6__04.jpg);
background-repeat: repeat-y;
background-position: left top;
}

the images in the home.tpl file work fine though, for example:
<td width="168" align="left" valign="top" background="{$ImagesDir}/d1-6__07.jpg">

That works fine. I can get the CSS above to work just fine is don't use $ImagesDir and put in:
http://www.xtrememotions.ca/skin1/images/d1-6__04.jpg

in the place of {$ImagesDir}

Any ideas...???
Reply With Quote