direction | NN 6 IE 5 CSS 2 |
Inherited: Yes | |
Sets the direction of the flow of inline portions of content (such as text) and the order in which table cells are filled along a row. Analogous to the dir attribute of most elements, the direction style attribute lets you override the browser's default rendering direction for other languages or special content. |
|
CSS Syntax | |
direction: ltr | rtl |
|
Value | |
Either of two directional constants. The value ltr stands for left-to-right; rtl stands for right-to-left. |
|
Initial Value | |
ltr |
|
Applies To | |
All elements. |