# Property Description

The direction property sets the text writing direction.

# Property Values

Value | Description
--- | ---
ltr | (default) The text direction is left-to-right (ltr)
rtl | The text direction is right-to-left (rtl)
inherit1 | Specifies that the value of the property should be inherited from the parent element

# Examples

This example sets the text direction as right-to-left.

    div {
      direction:rtl;
    }

# Browser Support

Firefox | IE | Chrome | Opera | Safari

1 - 'inherit' not supported by IE

# Miscellaneous Information

Inherited: | Yes
Defined In: | CSS2