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.

Fuel another post

4 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!

  3. ak Says:

    WOW! Thank you very much, you saved me hours of CSS frustration.

  4. Ron Says:

    Thanks for posting. I was having trouble figuring out what the problem was. Took out the right text-align and voila.. issue solved :)

Leave a Reply

  • I promise I'll be nice to your email address