B.112. text-justify

This nonstandard property, supported by Internet Explorer for Windows version 5 or later, controls the algorithm used to calculate spacing in blocks with text-align set to justify. This property is designed for use with Asian languages where "words" do not necessarily occur, and therefore the adaptive word spacing usually associated with justified text does not have a clear meaning.

Inherited: Yes

See also: Section B.107text-align, Section B.112text-kashida-space

B.112.1. Value

This property will accept any one of the following constant values:

  • auto: allows the browser to choose which algorithm to use

  • distribute: letter spacing and word spacing is increased by the same amount

  • distribute-all-lines: same as distribute, but ...

Get HTML Utopia: Designing Without Tables Using CSS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.