Hacker News new | ask | show | jobs
by thingie 5918 days ago
If it wasn't ragged, it would most likely look even worse than that Pooh example in the article. It depends on the size of font, which you can't (on the web) control. And he is right, justified paragraphs without hyphenation are ugly, unless you have a lot of characters on a line. Which he has not (around the images especially), and the example is even worse. I wouldn't even think of displaying justified paragraphs for lines shorter than, say… 80 characters or with hyphenations [1]. But even printed newspapers give up justification in narrow columns and has ragged right.

[1] I think that you could make it in javascript. With too few characters on a line, display paragraphs ragged, with more, justified. Maybe someone already did it.

1 comments

Too ragged was the criticism, which is different from not ragged. There is enough control in CSS to make it look better, and many people do.
Really? I am not aware of a way to do this (other than just making the line longer relative to the font size, which statistically makes the breaks more even)