The text-justify property specifies the justification method when text-align is justify — how spacing is distributed to fill the line.p {
text-justify: inter-word;
}.cjk {
text-align: justify;
text-justify: inter-character;
}autoThe default value. UA selects an appropriate algorithm based on language/script.noneNo justification is performed (even when text-align is justify).inter-wordAdjusts spacing between words only (good for English text).inter-characterAdjusts spacing between characters (good for CJK text).distributeEquivalent to inter-character (legacy alias).CSS Text Module Level 4Editor's DraftW3CMDN
In the beginning God created the heaven and the earth.
Now the earth was unformed and void, and darkness was upon the face of the deep; and the spirit of God hovered over the face of the waters.
And God said: 'Let there be light.' And there was light.
And God saw the light, that it was good; and God divided the light from the darkness.
And God called the light Day, and the darkness He called Night. And there was evening and there was morning, one day.
Show all codeEdit CSS onlineThe plugin that remembers hundreds of CSS items for youEvery CSS property — in a live demonstrationThe bilingual CSS referencedefinitionexamplessyntaxmodulespecificationsourcesvisual demonstrationpreviousnext