SEO and Text Indent

I am using a background image, z-index seems to do the same thing (i.e. hides the text) for me apart from on IE6.
Have you got any markup we could look at to see how you're achieving this?

I'm just thinking along the lines of google possibly picking up on a -9999px indent, whereas z-index is fairly innocent?
Conceptually, there's no difference - they're both hiding text using CSS. It's just that the first method moves text horizontally, while the second moves text behind.

So if Google frowns upon text-indent, then they're also going to frown upon z-index.

But they don't: http://mezzoblue.com/archives/2008/05/05/image_replac/.
 
[...] code [...]
Cheers :)

Ah, right; that's not quite the same thing as the OP and I were on about. We were on about image replacement for the <hn> elements only, not a <hn> within a containing <div>.

Obviously in your example there are two distinct block-level elements, so naturally z-index would work, though I don't particularly think it's a good idea to embed the text of a <h1> - or any text, come to that - into a larger background image of a containing <div>. Doing it that way would mean that positional changes to the text would have to be done within your graphics editor, rather than with CSS.
 
Last edited:
Back
Top Bottom