Home Menu

text-orientation

The text-orientation CSS 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)

JesusBible
HTMLCSSJSPHPSVGMore
AboutTerms