I would like to use the details tag to hide and expand an entire row in a table, so I currently have the code
<table border="1">
<tr>
<td>Header 1 </td>
<td>Header 2 </td>
<td>Header 3 </td>
</tr>
<tr>
<td>Content 1 </td>
<td>Content 2 </td>
<td>Content 3 </td>
</tr>
<details>
<tr>
<td>Hidden Content 1 </td>
<td>Hidden Content 2 </td>
<td>Hidden Content 3 </td>
</tr>
</details>
</table>
When expanding the details tag, it produces the "hidden" row but in one column instead of the entire 3 columns in the original table. I have also tried putting the tag inside the row but I come accross the same issue
<tr><details>
<td>Hidden Content 1 </td>
<td>Hidden Content 2 </td>
<td>Hidden Content 3 </td>
</details>
</tr>
Has anyone also come accross this problem and managed to solve it?