property
|
chrome
|
firefox
|
microsoft edge
|
Opera
|
direction
|
2.0
|
1.0
|
5.5
|
9.2
|
Value
|
Description
|
ltr
|
Text direction goes from left to right. This is the default.
|
rtl
|
Text direction goes from right to left
|
initial
|
Set this property to its default value.
|
inherit
|
Inherits this property from its parent element.
|
Default value:
|
ltr
|
Version:
|
CSS2
|
inherited
|
Yes
|
Animatable
|
No
|
JavaScript syntax:
|
object.style.direction="rtl"
|