views:

40

answers:

1

What's the best way to hide a text element and replace it with an image while still maintaining good SEO. I've seen negative text-indent, but I prefer absolute positioning with negative top.

So what I'd like to know is which is better for SEO. Do most search engines consider text elements with negative top with absolute positioning; likewise for text-indent?

+4  A: 

I would be very surprised if there was any difference. Search engines care about your content, they don't generally download your stylesheets, so all they would see is the markup which would be the same for both methods.

Image replacement is good for users and search engines, so as long as you're not doing it for the purpose of cloaking, you'll be fine.

Tim Fountain
Yes, these are my thoughts exactly.
Chris