
The Complete Idiot's Style Sheets Reference
| Index
| Current Category: Text (International) |
| Previous Style: cursor
| Next Style: display
|
direction
Determines the text direction. It enables you to print characters either from left-to-right (as used in most languages) or from right-to-left (as used in Hebrew and Arabic, among others).
Support:
-
See Also:
-
unicode-bidi
Possible Values:
- ltr
Text is displayed left-to-right.
-
Support:
-
W3C Standard | Internet Explorer | Netscape Navigator |
CSS2 and later |
5.0 and later |
Not supported |
- rtl
Text is displayed right-to-left.
-
Support:
-
W3C Standard | Internet Explorer | Netscape Navigator |
CSS2 and later |
5.0 and later |
Not supported |
Example:
<DIV STYLE="unicode-bidi: embed; direction: rtl">
Which way does this go?
</DIV>
<DIV STYLE="unicode-bidi: bidi-override; direction: rtl">
Which way does this go?
</DIV>
How It Looks:
Which way does this go?
Which way does this go?
| Index
| Current Category: Text (International) |
| Previous Style: cursor
| Next Style: display
|
|