2 Replies - 3397 Views - Last Post: 06 October 2010 - 10:22 PM

#1 david_michaelangelo  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 06-October 10

Alt tag background image CSS

Posted 06 October 2010 - 12:43 PM

So I've been given the task of adding alt tags to the images in my company's website to improve SEO etc. but the majority of the images have actually been coding in CSS as background images so they have no alt tag. Is there any easy/automated way of adding text for these images.

I have read that you could create invisible images with alt tags over top of each image but this is obviously extremely time consuming (seeing as these images appear on almost every page and there are MANY pages)

Any ideas?

Is This A Good Question/Topic? 0
  • +

Replies To: Alt tag background image CSS

#2 Brewer  Icon User is offline

  • Awesome
  • member icon

Reputation: 179
  • View blog
  • Posts: 1,044
  • Joined: 14-June 10

Re: Alt tag background image CSS

Posted 06 October 2010 - 12:51 PM

If I am understanding you correctly then there is no reason to add an alt tag to a background picture. You can't really "mouse over" the background image, so you'll never see the alt tag anyways. Why does your company want alt tags on a background image? Maybe we can suggest an alternative.
Was This Post Helpful? 0
  • +
  • -

#3 Ostralis  Icon User is offline

  • #include <greeter>
  • member icon

Reputation: 9
  • View blog
  • Posts: 559
  • Joined: 13-December 08

Re: Alt tag background image CSS

Posted 06 October 2010 - 10:22 PM

I was thinking the same thing as well... Not sure why you would want an alt tag on the background image. No worries, just let us know if that is what you're looking for. If not then it'd be something like this
<img src="RELATIVE LINK" alt="NAME" />
. Hope we've helped somewhat.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1