I\'m trying to hide some text inside an element using CSS by setting
text-indent: -999px;
.
For some reason this doesn\'t work when I set
Try setting text-alignment to match the direction in which you are indenting text.
For example, if you use LTR and want to indent text negatively, besides adding display: block, you should also add left alignment.
Not sure for RTL, but seems logical you should indent it positively and use right alignment.