In css what does the property text-align: justify-all
do? On MDN they suggest it justifies the content of last line too. But I see nothing happening in my chrome browser:
<p style="text-align: justify-all">
one two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four five
</p>
Align or justify using the Paragraph dialog box If you would like to select all paragraphs, press Ctrl + A. Right-click and select Paragraph. The Paragraph dialog box appears. From the Alignment drop-down menu, select Left, Center, Right or Justify.
With full justification, text is flush with both the right and left margins (for left-right and right-left scripts). Fully justified text has adjusted spacing between words and sometimes adjusted space between letters.
Checking the W3C spec, it doesn't appear to be supported by any major browser https://www.w3.org/International/tests/repo/results/text-align.
You can try text-align-last. It does have browser support, but it's not great http://caniuse.com/#feat=css-text-align-last
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With