Forum Moderators: not2easy

Message Too Old, No Replies

CSS for images (not background images)

CSS for images (not background images)

         

cheryl_bp

2:10 am on Jan 25, 2005 (gmt 0)



I have a site which will have seasonal style changes. Twenty or so images on each page will be changing seasonally. I'd like to use a single set of ssi's and a different css for each season to enable these updates. I have successfully used background-image for some of my requirements, but I also need to change many foreground images. Is there a way to do this using css?

Storyman

2:39 am on Jan 25, 2005 (gmt 0)

10+ Year Member



Cheryl,

The cleanist, easiest solution that I know is to set up your SSI to load current1.jpg, current2.jpg, current3.jpg, etc. Then make the images you want to display as current.jpg. It's easier than rescripting code.

It works best if you crop the images so they are the same dimensions--less hassle in the end.