can somebody explain that how does this colspan
and rowspan
system works, i have made this with rowspan="4"
but it looks like it is actually 3 and not 4 i mean the result, and why are '55577855' and 'ikä' are on right side, shoudn't those two be under 'henkilöstöt' ? i have tried many times.
<!DOCTYPE html>
<html>
<head>
<style>
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
th, td {
padding: 5px;
text-align: left;
}
</style>
</head>
<body>
<table >
<tr>
<th rowspan="4">Henkilöstöt</th>
<th colspan="3">koulutus</th>
</tr>
<tr>
<th rowspan="3">Muu</th>
<th rowspan="3">Ammattiiiii</th>
<th rowspan="3">korkeakoulu</th>
</tr>
<tr>
<th >55577855</th>
</tr>
<tr>
<th>ikä</th>
</tr>
</table>
</body>
</html>