Wrap the username in span , rotate it and set width to cells. If you rotate the cells, the table will display its size before it rotates the text.
table th.user span{ display:block; .rotate(90deg); padding: 190px 0 0 0; position: relative; left: 20px; width: 200px; } .user, tbody td { max-width: 50px; }
Demo
bookcasey
source share