Having an issue with Internet Explorer (typical, right?):
The problem arises when I try to generate content with CSS that includes a background-image. Here's what it looks like:
#nav ul li:after {
content: "--";
position: relative;
z-index: 99;
background: transparent url(image.png);
color: transparent;
}
In non-IE browsers, the text color is transparent, but in all versions of Internet Explorer (IE6-IE8), it's black and remains visible. How can I make the text transparent or invisible?
I've already tried using visibility, opacity, filter, text-indent, but none of them seem to work correctly. It's either the text disappears along with the background I need, or the attribute doesn't apply at all.