1. Computing

Discuss in my forum

direction

By , About.com Guide

direction Description:

The direction property defines the direction the text will display.

direction in CSS Versions:

direction Syntax:

direction: ltr | rtl | inherit

  • ltr
    Left to right.
  • rtl
    Right to left.
  • inherit
    The element should have the same direction setting as the parent.

direction Initial Value:

ltr

direction Applies To:

All elements.

direction Inheritance:

This property is inherited.

direction Browser Support:

direction Examples:

change the direction of the element

<p style="direction: rtl;">
 This paragraph should display right to left.
 </p>

direction Special Notes:

More direction Information:

©2013 About.com. All rights reserved.