property
text-justify — CSS reference
Selects the method for distributing space when text-align is justify. Initial auto and inherited. Language-aware choices matter for Arabic and East Asian scripts. Support varies.
Formal Syntax & Structure
css syntaxcss
auto | none | inter-word | inter-characterWorking Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS text lab</title><style>body {margin:0} .sample {background:#dcebe9;color:#182e32}#a{text-align:justify}#a{text-justify:inter-word}</style><body><p id="a">Design readable interfaces with CSS.</p><p lang="fa" dir="rtl">متن فارسی برای آزمایش چیدمان</p></body></html>