Definition The direction property sets the text direction. Inherited: Yes JavaScript Syntax CSS properties can also be dynamically chan...
Definition
The direction property sets the text direction.Inherited: Yes
JavaScript Syntax
CSS properties can also be dynamically changed with a JavaScript.Scripting Syntax: object.style.direction="rtl"
Examples
div { direction: rtl } |
Possible Values
Value | Description |
---|---|
ltr | Default. Text direction is left-to-right |
rtl | Text direction is right-to-left |
Goto CSS3 and CSS2 complete reference