This can be done without the need for position:absolute spaces of the day and month. This will mean that the height of your c_date element actually depends on the height of the stacked elements of the day and month.
I took the liberty of correcting some of the CSS code, which also did not have to appear in your demo :)
HTML
<div class="c_date"> <span class="c_month">Jun</span><br /> <span class="c_day">30</span> <span class="c_year">2009</span> </div>
CSS
.c_date { position: relative; width: 40px; color: #999; margin: 0 0 0 0; background:#00F !important; display:block; border:1px solid #ccc; font-size:0; } .c_year { position: absolute; } .c_day { font-size: 14px; display: inline-block; line-height: 11px; padding-bottom: 2px; text-align:center; } .c_month { font-size: 11px; display: inline-block; line-height: 14px; text-align:center; } .c_year { top: 9px; right: 0; font-size: 9px; -webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); transform: rotate(-90deg); }
Demo
source share