...

View Full Version : Changing vertical text orientation



rfresh
11-14-2010, 08:46 PM
I found the following code that makes text vertical, except I want the text to read from the bottom up, not from the top down. Does anyone know how I can change the font orientation?

Thanks



.vertical_text {
color:#333;
border:0px solid red;
writing-mode:tb-rl;
-webkit-transform:rotate(90deg);
-moz-transform:rotate(90deg);
-o-transform: rotate(90deg);
white-space:nowrap;
display:block;
bottom:0;
width:20px;
height:20px;
font-family: Helvetica, sans-serif;
font-size:16px;
font-weight:normal;
text-shadow: 0px 0px 1px #333;
}

DrDOS
11-14-2010, 09:17 PM
Try -90deg or 270deg. Those are equivalent to inverted vertical.

rfresh
11-15-2010, 02:59 AM
That worked!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum