PDA

View Full Version : alpha filter... fading text:(


tyler jones
12-11-2002, 02:20 PM
I'm using the following style on a td tag....

style="filter:Alpha(opacity=50);"

What I'm trying to do is have the background color of the td to be 50% faded, but it's affecting the text also. I understand that by putting it in the td tag, it should affect the text, but I'm not sure if there's another way to do this so that the text is 100% opacity but the background is only 50%. Anyone have any ideas? Thanks.

MrDoubtFire
12-11-2002, 03:16 PM
I believe one way to combat this, and to fix the problem you are running into, is to have two <div>'s, one on top of the other. The div with the text on it is transparent with no background color, the other div is the one which you want the filter applied to. Position them together and it should work.

MrDoubtFire