My HTML is like this:
<li><a href="fbpage" class="icon-facebook">Facebook</a></li>
I'm using the fontello icon font system however, I can't seem to work out how to make the word Facebook disappear and the icon remain! The generated content looks like this:
<li><a href="fbpage" class="icon-facebook">:before "Facebook"</a></li>
Thanks
(note: I know I can add a span to the text and toggle it but I thought there may have been a purely CSS way to do it?)
This is one way
and there's also another. I found this question answered here: Hide text using css