Get Pixa and Ember for only $39.99. This site is supported by readers like you who buy bundle with this affiliate link.

Prevent Typographic Orphan in Post Title

I’ve been reading Butterick’s Practical Typography this past week. It’s a book detailing how typography can be applied to make our writing every day more useful for our intended audience.

I’m still at the beginning part of the book, but there is one important lesson I’ve learned from one of the section in the book. It answered one of the annoyance I keep encounter with responsive design, especially on this blog, is typographic orphan.

Borrowing the definition from Wikipedia:

A word, part of a word, or very short line that appears by itself at the end of a paragraph. Orphans result in too much white space between paragraphs or at the bottom of a page.

I redesigned this blog by referring to iPhone and iPad screen size. Even by limiting the screen size to iPhone and iPad, I occasionally will discover orphan in one of my post title as shown in the example below.

 [Post Title Without Non-Breaking Space][]

Orphan is considered a bad style because it’ll create too much whitespace between paragraph. Orphan found in centered text is even worse. Another problem with orphan is it’s likely to break the flow of the text. If you see the example above one more time, the text in “4 Best Bowtie Themes to Decorate Your” doesn’t flow well into the “Mac”. “Decorate Your Mac” should stay together so readers can see the relation between words in one glance.

One way to avoid orphan is to use non-breaking space. As explained in Butterick’s Practical Typography on non-breaking space:

A non­break­ing space is the same width as a word space, but it pre­vents the text from flowing to a new line or page. It’s like in­vis­i­ble glue be­tween the words on ei­ther side.

By using non-breaking space, I can ensure flow of title stay consistent across all screen sizes. I can control which words get wrapped when the width of screen size doesn’t fit. Following the example above, I can use non-breaking space for “Decorate Your Mac”. The phrase will be treated as singular word so each time the screen width won’t fit, it’ll flow into next line as shown in the screenshot below.

 [Post Title with Non-Breaking Space][]

Now we have something useful for readers. They can process the words faster and the title also looks better in all screen sizes and styles, left aligned or centered.

This practice can also be applied to paragraph. By using non-breaking space in the last two or three words, you can ensure orphan won’t exist between paragraph.

Despite the form of contents have been growing in the last decade, text remains as the most popular among web users. By learning how to apply best typography practice in our works, we can deliver our works proudly to our audiences. As stated in the book, the core of typography is to perform utilitarian function.