Extensible HyperText Markup Language

direction

Definition

The direction property specifies the writing direction of text (left-to-right or right-to-left). Inline elements are only affected by the direction property if the unicode-bidi property is set to embed or bidi-override.

Example

  1. blockquote {direction: rtl}

Characteristics

Possible values

ltr
Left-to-right.
rtl
Right-to-left.
inherit
Use the same computed value as the parent element for this property.

Default value

ltr

Applies to

All elements

Inherited

Yes

See also

XStandard XHTML WYSIWYG editor
A standards-compliant WYSIWYG editor component for content management applications. The editor generates valid XHTML and uses CSS for formatting. Free version is available.

Check out XStandard