ich zwei Polster zwischen den beiden Platten und einigen zusätzlichen unteren horizontalen wollenWie horizontale Linien in der Tabelle hinzufügen
ein Symbol hinzuzufügenBearbeiten/Update:
Ich bin hart codierte, was ich wie unten wollen
table {
border: 1px solid black;
padding: 0em 2em;
}
tr {
border: 1px solid black;
padding: 0em 2em;
}
tr:nth-child(3) {
margin: 0px;
padding: 0px;
}
tr:nth-child(7) {
background-color: red
}
td:nth-child(21) {
border-bottom: 1px solid blue;
}
<table>
<tr>
<th colspan="2">Old_records</th>
<td>32</td>
</tr>
<tr>
<th>Records_fetched</th>
<td colspan="2">100</td>
</tr>
<tr>
<td colspan="3"> -----------------------------</td>
</tr>
<tr>
<th>Sum </th>
<td colspan="2">132</td>
</tr>
<tr>
<th>New_records</th>
<td></td>
<td>80</td>
</tr>
<tr>
<td colspan="3"> -----------------------------</td>
</tr>
<tr>
<th>Differnce </th>
<td colspan="2">52</td>
</tr>
</table>
Noch brauche ich Symbole hinzugefügt werden und ich einen besseren Weg, um Rand statt dieser Zeile hinzufügen <tr><td colspan="3"> -----------------------------</td></tr>
Kann mir jemand vorschlagen, wie man das richtig macht?
Warum haben Sie gerade eine Grenze zum tr und Tabelle hinzufügen? Sie müssen nur einen Rahmen und einen Füllboden zu th und td hinzufügen und das wird den Trick machen –
Aktualisierte Antwort. –