views:

75

answers:

2

Possible Duplicate:
How does uʍop-ǝpısdn text work?

How to make the text upside down while keep the left-right order?

+4  A: 

Firefox / Webkit:

-webkit-transform: rotate(-90deg); 
-moz-transform: rotate(-90deg); 

IE:

filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
loentar
A: 

Or, if you want a solution that works most places:

  .verticalText
  {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    writing-mode: tb-rl;
    filter: flipv fliph;
  }

Ultimately I ended up using a HTML5 canvas to draw vertical text in non-IE browsers due to odd results from rotating text.

Edit: Somehow I only managed to copy part of my code. Added the rest.

Sparafusile
firefox does not
loentar
And it doesn't work in Opera, Safari or Iron (Chrome) either.
Gert G