3 ms·
Also they can be justified in ways browsers can’t (yet) do. Every web page has a ragged right.
by Lammy 6y ago
Also they can be justified in ways browsers can’t (yet) do. Every web page has a ragged right.
- chmod775 6y agoLike this (the demo at the top is interactive)? https://developer.mozilla.org/en-US/docs/Web/CSS/text-align https://developer.mozilla.org/en-US/docs/Web/CSS/text-align
- KMnO4 6y agoInteresting, there’s absolutely no difference between justify and align left on iOS Safari. I wouldn’t have guessed that’s an unsupported feature. I guess it’s not common enough for me to notice throughout the web.
- abhinav22 6y agoJustify works in iOS Safari (I just checked). I like to use it in my designs sometimes :)
- URSpider94 6y agoWorks fine for me.
- Lammy 6y agoNo, like ‘text-justify: inter-character’: https://developer.mozilla.org/en-US/docs/Web/CSS/text-justify https://developer.mozilla.org/en-US/docs/Web/CSS/text-justif...
- jimmygrapes 6y agoI have been trying to place the justification format I have seen in some print books. In most cases it will add spaces between words to make up for sentences with words that can't be split easily, but it also doesn't fully right-justify the last letter of the line. It seems to be something like "add inter-word spacing unless spacing exceeds X"
- notriddle 6y agoThe gold standard for computer text justification is the TeX algorithm: https://en.wikipedia.org/wiki/TeX#Hyphenation_and_justification https://en.wikipedia.org/wiki/TeX#Hyphenation_and_justificat...