Here is the HTML code snippet:
<div class="fl">
<div class="titleTextV">My ABC</div>
</div>
After applying CSS to rotate the text:
.titleTextV{
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
font-size:1.3em;
background:#999;
height:100%;
}
The issue is that the titleTextV class should span the entire height of its container at 100%, without using pixel values, and be positioned inside. However, currently the text is moving out of the box.