Ok, so I need a little help with table transparency. What I want to do is have a black background color for my body, and have the table colors half transparent so they appear shaded with the black underneath. How can this be accomplished?
Thanks in advance.<style type="text/css">
body, html {
background-color:#000000;
}
table, tr, td {
filter:alpha(opacity=50);
opacity:.50;
background-color:#00c300;
}
</style>thank you thank you ^_^ahhh actually i'm running into a problem with this. the transparency works fine but all of the textnodes in my td elements are not visible. I don't think this is an issue with font color because I can't even highlight where the text is. What am I doing wrong?Opacity affects the descendants of an element -- including text nodes.
Why don't you just figure out what the color would be when you make it partially transparent on a black background and then set that as the background color of the table?
Thanks in advance.<style type="text/css">
body, html {
background-color:#000000;
}
table, tr, td {
filter:alpha(opacity=50);
opacity:.50;
background-color:#00c300;
}
</style>thank you thank you ^_^ahhh actually i'm running into a problem with this. the transparency works fine but all of the textnodes in my td elements are not visible. I don't think this is an issue with font color because I can't even highlight where the text is. What am I doing wrong?Opacity affects the descendants of an element -- including text nodes.
Why don't you just figure out what the color would be when you make it partially transparent on a black background and then set that as the background color of the table?