Html 表的不透明度,但不希望在表的td标记内的div中应用该不透明度

Html 表的不透明度,但不希望在表的td标记内的div中应用该不透明度,html,Html,我正在为我的表使用不透明度,但我不想像我提到的那样在div中应用不透明度,如何实现这一点 <table class="popup" style="background-color:#898989; width:99%; opacity:0.8;filter:alpha(opacity=80); > <tr> <td> <div>i dont want to apply transparency here&l

我正在为我的表使用不透明度,但我不想像我提到的那样在div中应用不透明度,如何实现这一点

<table  class="popup" style="background-color:#898989;
width:99%;  opacity:0.8;filter:alpha(opacity=80); >
    <tr>
      <td>
         <div>i dont want to apply transparency here</div>
      <td>
    </tr>
</table>
我不想在这里应用透明度

您可以使用rgba值作为背景

<table  class="popup" style="background-color: rgba(137,137,137,0.8);
width:99%;  >
    <tr>
      <td>
         <div>i dont want to apply transparency here</div>
      <td>
    </tr>
</table>
编辑:

抱歉,以前的解决方案不正确

您可能需要查看以下相关问题:

此链接说明如何在使用
rgba


不要对父元素应用不透明度如果您想要透明颜色或使用图像,请使用RGB颜色。

我不能使用RGBa,因为它与IE7不兼容,8您可以通过css过滤器在ie中使用检查这些链接,它们可能会有帮助:)&我尝试了很多,但没有工作,因为答案+1:)会接受它,因为您有链接提供:)我不能使用RGBa,因为它与IE7.8不兼容。你可以将1x1像素的背景图像设置为良好的颜色,以备后援。我可以,但这不是我想要的。使用css3pie的原因是什么?是的,我做了一个搜索,但我想要一个CSS解决方案。
<table  class="popup" style="background-color: rgba(137,137,137,0.8);
width:99%;  >
    <tr>
      <td>
         <div>i dont want to apply transparency here</div>
      <td>
    </tr>
</table>