a nice article by Jonathan Snook on Cross browser text rotation. Please go and read it the full article with examples and stuff.

</

All the needed code is here:

HTML

<div class="example-date">
  <span class="day">31</span> 
  <span class="month">July</span> 
  <span class="year">2009</span>
</div>

CSS

-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);