I am trying to make a table with Vertical Text and avatart just on the header table.
the result should be like this:
So my questions are:
1) what should I do in my css file in order to have the text rotate of 270deg (making .rotate(270deg); messes everything )
2) the name aligned on the top of the avatar?
3) it works on google chrome but not firefox :(
Here is my demo: http://codepen.io/anon/pen/CogKe
Here is my code:
.rotate(@deg){
-webkit-transform: rotate(@deg);
}
table th.user span.name{
display:block;
.rotate(90deg);
padding: 190px 0 0 0;
position: relative;
left: 20px;
width: 200px;
}
table, td, th
{
border:1px solid green;
}
.user, tbody td {
max-width: 50px;
text-align: center
}