Tuesday, October 30, 2007

Vertical Label

Recently I have needed to display a label with the text in vertical direction. I have accomplished it using CSS with the next CSS class:

.verticaltext

{

    writing-mode: tb-rl;

    filter: flipv
fliph;

    text-indent: 60;

    padding: 2px;

    height: 75px;

}

Related links:
http://www.ssi-developer.net/css/vertical-text.shtml