CSS sprite, what html tag to use
- by yes123
Hi guys,
I am thinking to switch to CSS Sprite for my images.
The main problem is I need something compatible with alt attribute. (Seo-purpouse)
What Can I use? The first think I thought was to use a standard
<img src="1x1.gif" class="mysprite">
The problem is I can't use that because that would like suspicous by google because of this:
<img src="1x1.gif" class="mysprite" alt="my keyword1">
<img src="1x1.gif" class="mysprite" alt="my keyword2">
<img src="1x1.gif" class="mysprite" alt="my keyword3">
(the same image "1x1.gif" with different alt text)
How we can solve this?