I'm trying to turn the headers in a MediaWiki table from horizontal to vertical. This way there should be more room for the table data.
I found this MediaWiki template that can turn text in arbitrary direction
https://en.wikipedia.org/wiki/Template:Transform-rotate
This basically works but it does not solve the problem: Within tables it seams that in web-browsers FIRST all cells are layouted and THEN the text is rotated. This way all table header cells will cover the same amount of space after rotation is performed, which does not solve my problem. I require the opposite approach: FIRST rotate the text and THEN layout the table.
How can this achieved by CSS? How can the text be made vertical in table headers this way saving horizontal space?