How to rotate text in the web page?

zhaozj2021-02-11  173

How to rotate text

Author: http: //lucky.myrice.comE-mail: amxh@21cn.com

New features of IE5.5: Rotate text, look at you. Usage is as follows:

Get writing method:

Object.style.writingmode

Setting writing:

Object.Style.writingMode = sflowdir

among them

Sflowdir is

LR-TB or

One of TB-RL

The setting value effect The default object direction of the LR-TB, that is, from left to right, from the top to the order of the sequential TB-RL objects, from top to bottom, from right to left. The Chinese text is facing up, and the English text rotates 90 degrees clockwise.