If you are trying to avoid the situation of a separate CSS background property for each image you could create a single image with all of your rollover states. You would then use the background position property to shift this larger image into the correct position.
The advantage of this method is that you would only need one image in your CMS and one rule in your CSS applying to the hover state for your anchor element. The full details on this technique are at http://www.alistapart.com/articles/sprites/ Cheers, James -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of theGrafixGuy Sent: Wednesday, 21 April 2004 7:53 PM To: [EMAIL PROTECTED] Subject: RE: [WSG] A CSS Question Yeah, that was what I was afraid of. I am looking at in the wrong way - Okay, is there a method of perhaps adding an effect to the image that could be turned on or off - like for example a border effect where top and left are one color and bottom and right another color and on a mouse over they reverse? Follow me on this? Essentially, we are trying to add some sort of visual cue to a static image that is embedded in the tables based template system :-/ Brian -----Original Message----- From: Andrew Krespanis [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 2:04 AM To: [EMAIL PROTECTED] Subject: RE: [WSG] A CSS Question >I am thinking changing that to: <img src="images/foo.gif" class="ro1"> I find it hard to see how you plan to overide the src attribute using CSS... Just about any other element would probably be workable, but I can't see ow this could be done using <img> and CSS only. Andrew. _________________________________________________________________ SEEK: Now with over 50,000 dream jobs! Click here: http://ninemsn.seek.com.au?hotmail ***************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ***************************************************** ***************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ***************************************************** ***************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help *****************************************************