Menu Home

text-justify

osbo.com | CSS | Properties | text-justify

The text-justify CSS property selects the justification method used when a line's alignment is set to justify.

Syntax

CSS

text-justify: value;

JS

object.style.textJustify = "value";

Values

<'text-justify'> = auto | none | inter-word | inter-character
auto

Automatically specified by the user agent.

none

Justification is disabled: there are no justification opportunities within the text.

inter-word

Justification adjusts spacing at word separators only.

inter-character

Justification adjusts spacing between each pair of adjacent typographic character units.

Initial

auto

Examples

auto

none

inter-word

inter-character

JS

Internal

text-align

text-align-last

External

World Wide Web Consortium (W3C)