The web could be so much more beautiful
Back in high school when I was writing essays, my teacher always demanded to use justified text, because simple left aligned or right aligned text looked ugly. Even back then as a totally...
Back in high school when I was writing essays, my teacher always demanded to use justified text, because simple left aligned or right aligned text looked ugly. Even back then as a totally rebellious teenager, I agreed with her. Print has used it for hundreds of years, why shouldn't we?
The web has always resisted this development because it was difficult. Yes, the css property text-align: justify
exists, but browser were always missing the crucial functionality of hyphenating words. That led to very ugly justified texts and so called "rivers" of whitespace because the spaces got so large. Begrudingly, I got used to it.
I was surprised to learn that all major browsers support the new hyphens
css property since late 2023. This one adds exactly that crucial functionality. I was stunned and immediately tried it out and oh look, the web is so much more beautiful now.
You can try out yourself here on Tildes! Just right click a comment, click "Inspect" and then when the dev console pops up, add
text-align: justify;
hyphens: auto:
to p
, which stands for the paragraph html tag and in which all text posts are rendered on Tildes.
It looks so much better! But I do wonder why it hasn't spread around more in the web. Am I the only one? Am I nitpicky? I feel like the improvement is stark and very good for functionally no extra work. I even installed a browser extension which augments a website's css so I could automatically do it on most websites.