I'm currently using Firefox and have the following code snippet:
html,
body {
width: 100%;
height: 100%;
}
* {
box-sizing: border-box;
}
body {
padding-left: 20px;
padding-right: 20px;
}
.visitentabelle {
border: 2px solid black;
width: 100%;
table-layout: fixed;
border-collapse: collapse;
}
.visitentabelle tr {
height: 50px;
line-height: 50px;
}
.visitentabelle tr:not(:last-child) {
border-bottom: 1px solid black;
}
.visitentabelle .rowgroup {
writing-mode: vertical-rl;
text-align: center;
vertical-align: middle;
transform: rotate(180deg);
border-right: 1px solid black;
width: 30px;
line-height: 30px;
font-size: 20px;
}
.visitentabelle td {
text-align: left;
padding-left: 10px;
}
<html>
<body id="body">
<table class="visitentabelle">
<tr>
<th rowspan="6" class="rowgroup"><span>SomeHeader</span></th>
<td colspan="6">test</td>
</tr>
<tr>
<td colspan="6">test</td>
</tr>
<tr>
<td colspan="6">test</td>
</tr>
<tr>
<td colspan="6">test</td>
</tr>
<tr>
<td colspan="6">test</td>
</tr>
</table>
</body>
</html>
Check out the JSFiddle here
In my code, I have set a border for the entire table but noticed that the header row is missing the bottom border. I would like to add a border there as well.
Could someone please point out what I am doing wrong?
Thank you in advance.