Why isn’t my Negative text-indent hiding text?

I’m making this post so that some day some person will google that phrase, and come here, and I can tell them that it might be because some parent element has a text-align: right set on it, which seems to render negative text-indents not at all.  Set the thing to text-align: left and everything will be ok.

2 Responses to “Why isn’t my Negative text-indent hiding text?”

  1. Adam Norwood Says:

    Just wanted to leave a quick note to say that I came across this post exactly as you described. I was getting pretty frustrated with this problem (not really a bug, I guess, as it does sort of make sense), but it was a simple as taking out the text-align: right from a parent div. Thanks for the tip!

  2. Chris Wible Says:

    Me too - googled a similar phrase cuz I was getting pissed off at something I “knew” should work but wasn’t. Your post saved me probably an hour of screwing with random stuff. Thanks!

Leave a Reply