I'm using javascript and css to write a function that displays hidden html. The function works for most situations, but in the following code, the div tag doesn't pass on the style i.e. the code inside it remains visible.
<table>
<tr>
<td>text always visible</td>
</tr>
<div style="display:none;" id="abc">
<tr>
<td>hidden text</td>
</tr>
</div>
</table>
<table>
<tr>
<td>text always visible</td>
</tr>
<div style="display:none;" id="abc">
<tr>
<td>hidden text</td>
</tr>
</div>
</table>