Having widows in your body text is not the end of the world - but if you can get rid of them everywhere with little to no work, e.g. From a time-usage perspective, if I’m doing it manually I prioritize the heaviest text elements in a document, meaning those that stand out, such as headlines, subheadings, and lead paragraphs. How important is it to get rid of widows? So far I haven’t found an optimal solution that works 100% of the time - but I will.
#Typography widows and orphans manual
I’m working on a programmatic solution that automatically removes widows, so I don’t have to waste time with this manual nonsense. I’m not going to waste time doing that manually in every single article! Notice how other paragraphs in this article have widows hanging alone at the end of paragraphs, depending on how wide or narrow you resize your browser window. Isn’t it time-consuming to remove widows manually? Remember to switch back to normal/visual writing mode afterward.įor titles, in WordPress, you can add non-breaking spaces in your posts title input field as I show in this video: If your CMS is formatting-friendly, you should be able to add non-breaking spaces ( ) to your text that way. In fact, most writing guides and other books on typography generally suggest that a document should have no such lines whatsoever, e.g. If you’re writing inside a visual editor, in a CMS like WordPress, look for a tab that says “Text”, “Code” or “Source” to switch to the HTML editor. Essentially everyone in typography circles agrees that widows and orphans are very distracting to the reader as well as a sign of bad craftsmanship, and should therefore be avoided. That’s because I added between non-breaking space - check the source code for yourself. Try resizing your browser window, and notice how no matter what, the last line of the paragraph above has 2 or more words. It might not be this paragraph, but it will happen at some point, unless you use a non-breaking space. Depending on how you define the width of this text block, at some point a word will be left hanging on the last line of the paragraph. Here is a line of text inside paragraph tags. The most simple way to get rid of widows is to manually add a non-breaking space inside your HTML code.Ī non-breaking space acts as a glue between two words, and force them to be on the same line.Ī non-breaking space looks like this. It may appear like a tiny problem in a broad context, but all problems add up, and this particular problem is quick to fix. Pretty things attract our attention better than less pretty things - and attention is the most valuable gift a writer can get from their readers. Visually widows are not pretty, and this means more than you’d think, as one of the key components that makes humans consider something to be aesthetic is symmetry. Widows, sometimes called orphans or runts, occur when a word is left dangling alone on the last line of a paragraph.
#Typography widows and orphans how to
Web typography: learn how to get rid of widows or orphans in your text on your websites, with a simple string.