HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

text-align-all

Description

The text-align-all property for CSS specifies the inline alignment of all lines of inline content in the block container, except for last lines overridden by a non-auto value of text-align-last.

Use text-align instead.

Syntax

CSS

text-align-all: value;

JS

object.style.textAlignAll = "value";

Values

<'text-align-all'> = start | end | left | right | center | justify | match-parent
start

Inline-level content is aligned to the start edge of the line box.

end

Inline-level content is aligned to the end edge of the line box.

left

Inline-level content is aligned to the line left edge of the line box.

right

Inline-level content is aligned to the line right edge of the line box.

center

Inline-level content is centered within the line box.

justify

Text is justified according to the method specified by the text-justify property, in order to exactly fill the line box.

match-parent

Behaves the same as inherit except that an inherited value of start or end is interpreted against the parent's direction value and results in a computed value of either left or right.

Initial

start

Examples

1 · start

2 · end

3 · left

4 · right

5 · center

6 · justify

7 · match-parent

8 · JS