#popBox{
width:100%;
height:100%;
position:fixed;
left:0;
top:0;
border-collapse:collapse;
background:black;
opacity:0.8;
display:none;
}
<table id="popBox">
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td id="popBox_container" style="opacity:1"></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table>
I have a table set opacity:0.8
.
Inside of this table, one of td
should have an opacity of 1.
Is there a way to set the opacity of this specific td differently?
Since there are 9 td elements in this table, I want to avoid creating a class like <td class='opacity'>
for 8 elements.