CSS Property: direction
[this page | pdf | back links]
The CSS (CSS2) direction property specifies the text
or writing direction. It can be used with the unicode-bidi
property to set or indicate whether text should be overridden to support
multiple languages (that are formatted in different directions) in the same
document.
Valid property values
(other than inherit
and initial) are:
|
Value
|
Description
|
|
ltr
|
(default value). Text
direction is left-to-right
|
|
rtl
|
Text direction is
right-to-left
|
|
zoom-in
|
Indicates something can
be zoomed in
|
|
zoom-out
|
Indicates something can
be zoomed out
|
|
Default Value:
|
ltr
|
|
JavaScript syntax:
|
e.g. object.style.direction="rtl"
|
|
Inherited:
|
Yes
|
|
Animatable:
|
No
|
NAVIGATION LINKS
Contents | Prev | Next | CSS Properties