CSS sprite, what html tag to use
Posted
by
yes123
on Pro Webmasters
See other posts from Pro Webmasters
or by yes123
Published on 2011-02-25T02:05:24Z
Indexed on
2011/02/25
7:32 UTC
Read the original article
Hit count: 509
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?
© Pro Webmasters or respective owner