I've been scouring the web for hours now on many different forums, but no one seems to have the answers I need. How do I align my text vertically in a table cell? Like that: But without spaces
V
E
R
T
I
C
A
L
Here is my code:
.VerticalText {
-ms-writing-mode: tb-lr;
-webkit-writing-mode: vertical-lr;
-moz-writing-mode: vertical-lr;
}
<table width="98%" border="1" style="">
<tbody>
<tr>
<table width="98%" border="1" style="">
<tbody>
<tr>
<td rowspan="2">TEXT</td>
<td rowspan="2">TEXT</td>
<td colspan="7" align="center">TEXT</td>
<td rowspan="2">TEXT</td>
</tr>
<tr>
<td class="VerticalText">TEXT</td>
<td>VERTICAL TEXT</td>
<td>VERTICAL TEXT</td>
<td>VERTICAL TEXT</td>
<td>VERTICAL TEXT</td>
<td>VERTICAL TEXT</td>
<td>VERTICAL TEXT</td>
</tr>
</tbody>
</table>
I have tried text orientation, textdirection, etc.
I'm lost, can someone help?