Rotate header cells

90 degrees

The Table

a b 1234567890
eeeee
12345678901234567890
eeeee
lorum ipsum
kasd sf fjsdf sdf sdf 12345
eeeee
1 22 4 42
Genderinside table
female maleunknown /
not specified
some other
heading
last Column
46699new text here
and here
6

Gender
femalemaleunknown /
not specified
some other
heading
last Column
46699new text here
and here

Rotate header cells 90 degree with JavaScript

a b 1234567890
eeeee
12345678901234567890
eeeee
lorum ipsum
kasd sf fjsdf sdf sdf 12345
eeeee
1 22 4 42
Genderinside table
female male unknown /
not specified
some other
heading
last Column
46699new text here
and here
6

Gender
femalemaleunknown /
not specified
some other
heading
last Column
46699new text here
and here