Justification changes spacing between words:
![]()
The text-justify property is currently supported only in Internet Explorer.
The text-justify property specifies the justification method to use when text-align is set to "justify".
This property specifies how justified text should be aligned and spaced.
| Default value: | auto |
|---|---|
| Inherited: | yes |
| Version: | CSS3 |
| JavaScript syntax: | object.style.textJustify="inter-word" |
| Value | Description | Play it |
|---|---|---|
| auto | The browser determines the justification algorithm | Play it » |
| inter-word | Increases/Decreases the space between words | Play it » |
| inter-ideograph | Justifies content with ideographic text | Play it » |
| inter-cluster | Only content that does not contain any inter-word spacing (such as Asian languages) is justified | Play it » |
| distribute | Like the newspaper value, except that in East Asian languages (such as Thai) the last line is not justified | Play it » |
| kashida | Justifies content by elongating characters | Play it » |
| trim | Play it » | |
| none | The justification is disabled | Play it » |
Your message has been sent to W3Schools.