First of all, if I rotate a span in a td or th, it doesn't rotate. I have to make it either position absolute or display:block to rotate it. absolute position is not an option for me so I went ahead with display:block.
here is my code : http://jsfiddle.net/bilalfazlani/95V5G/
I am using following css
.thetable th span {
transform: rotate(270deg);
display: block;
}
If you take a look output, you'll notice that although spans are being rotated to 270deg, they still consume the original space and not actual space.
I hope I am able to explain my problem correctly.