table {
border-collapse: collapse;
margin:100px auto;
}
td {
margin: 0px;
padding: 5px;
text-align: left;
border:1px solid #080808;
}
.border {
border: 1px solid #080808;
}
.noborders td {
border:0;
}
.border_single {
border: 1px solid #080808;
}
<table>
<tbody class="border">
<tr>
<td>Table Cell with borders</td>
<td>Table Cell with borders</td>
<td>Table Cell with borders</td>
</tr>
<tr class="noborders">
<td>Table Cell without borders</td>
<td>Table Cell without borders</td>
<td>Table Cell without borders</td>
</tr>
<tr class="noborders">
<td>Table Cell without borders</td>
<td class="border_single">Table WITH border</td>
<td>Table Cell without borders</td>
</tr>
</tbody>
</table>
In order to gain a deeper understanding of how CSS values are inherited throughout the hierarchy of a table, I intentionally labeled a td as "border_single" to define and apply a basic border. However, the border is not displaying, which leads me to believe that it may be inheriting styles from higher levels causing the specific td's border not to show.