My HTML table has nested tables, but the border collapse property is not working. Despite adding the border-collapse property to both the main table and nested tables, only the outer borders are visible, with no inside borders.
<table style="border-collapse: collapse;">
<tr>
<th>Existing data</th>
<th>New table</th>
</tr>
<tr>
<td>
<!-- Nested Table 1 -->
<table style="border-collapse: collapse;">
<tr>
<th>Hostname</th>
<th>IP</th>
<th>MAC</th>
</tr>
<tr>
<td>ftp01</td>
<td>10.1.1.4</td>
<td>...01</td>
</tr>
<tr>
<td>www01</td>
<td>10.1.1.5</td>
<td>...02</td>
</tr>
</table>
</td>
<td>
<!-- Nested Table 2 -->
<table style="border-collapse: collapse;">
<tr>
<th>IP</th>
<th>MAC</th>
<th>Owner</th>
</tr>
<tr>
<td>10.1.1.4</td>
<td>...bb</td>
<td>alice</td>
</tr>
<tr>
<td>10.1.1.6</td>
<td>...cc</td>
<td>bob</td>
</tr>
<tr>
<td>10.1.1.7</td>
<td>...dd</td>
<td>chris</td>
</tr>
<tr>
<td>10.1.1.4</td>
<td>...ee</td>
<td>doug</td>
</tr>
</table>
</td>
</tr>
</table>