Hiding Text in ie7

Posted by user356849 on Stack Overflow See other posts from Stack Overflow or by user356849
Published on 2010-06-03T00:43:51Z Indexed on 2010/06/03 0:54 UTC
Read the original article Hit count: 250

Filed under:
|
|

So I have this text generated by a javascript plugin.

<a class="className">Text</a> 

a.className {
background: url(images/a-image.png) no-repeat;
}

But the "Text" shows on top of the image... Now... with any respectable web browser, I can use color: rgba(0,0,0,0); to solve the problem, but IE7 doesn't obey standards of any sort.

Any ideas?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html