IE - Color transparent not working

Posted by poru on Stack Overflow See other posts from Stack Overflow or by poru
Published on 2010-05-07T16:45:23Z Indexed on 2010/05/07 16:48 UTC
Read the original article Hit count: 250

Filed under:
|
|

Hello,

I have a problem with the IE (what else?):

I generate content with CSS which has also a background-image. I looks like that:

#nav ul li:after {
    content: "--";
    position: relative;
    z-index: 99;
    background: transparent url(image.png);
    color: transparent;
}

The text color is in non-IE-browsers transparent, but in all IE browsers it's black and you could see it. How could I make the text transparent/unvisible?

I tried already: visibility - opacity - filter - text-indent ... But none did his job right, either it disappears (with it background which I need) or the attribute doesn't apply.

© Stack Overflow or respective owner

Related posts about css

Related posts about ie