In most templates you can just type option-space to get a non-breaking space. (You might be tempted to insert a “soft-return” or break tag to make things look the way you want, but that can be worse when the text reflows due to a window resize or when a user zooms in or out.) Maybe you want to keep a month and date together, or you don’t want a time span to get split up: Monday, January 5th, 2:00 ‑ 3:00 pm. That’s when you might resort to this simple hack: inserting a non-breaking space to keep certain words together, or to keep a dash attached to the word before it - like this. Or there’s one word that drops down by itself in a headline, or at the end of a paragraph, and it looks awkward - a “widow” line. Sometimes you just want the text to flow differently at a certain viewport width.
0 Comments
Leave a Reply. |