Entry
How can I write text vertically?
Feb 13th, 2001 07:27
Martin Honnen,
IE5.5 has introduced a new CSS property
writing-mode
with a default value of
lr-tb
which stands for left-right top-bottom which is the normal mode for
Western language. The other possible value is
tb-rl
which stands for top-bottom right-left. In this mode Western/Latin
glyphs are turned to the right by 90 degrees so you write downwards.
Using the
fliph
and
flipv
filters you can also write upwards as the following example shows:
<HTML>
<HEAD>
</HEAD>
<BODY>
<DIV STYLE="writing-mode: tb-rl;">
Kibology for all.
All for Kibology.
</DIV>
<DIV STYLE="writing-mode: tb-rl; filter: flipv() fliph();">
Kibology for all.
All for Kibology.
</DIV>
</BODY>
</HTML>