Menu Riverview Church

TEXT-ORIENTATION

The text-orientation property specifies the orientation of text within a line.

SYNTAX

CSS

text-orientation: value;

JS

object.style.textOrientation = "value";

VALUES

<'text-orientation'> = mixed | upright | sideways
mixed

In vertical writing modes, typographic character units from horizontal-only scripts are typeset sideways.

upright

In vertical writing modes, typographic character units from horizontal-only scripts are typeset upright.

sideways

In vertical writing modes, this causes all text to be typeset sideways.

INITIAL

mixed

EXAMPLES

MIXED

UPRIGHT

SIDEWAYS

JS

INTERNAL

direction

text-combine-upright

unicode-bidi

writing-mode

EXTERNAL

World Wide Web Consortium (W3C)