Mr. Harun’s banner under the text-wrap you pick: the browser breaks its lines at the real width, each line is measured with a Range, an orphan word is…
Lopsided headings and orphan words make a page look unfinished, and the text changes on every screen and in every translation, so it can't be fixed by hand. text-wrap fixes it with one line of CSS, and browsers that don't support it simply ignore it.
balance is for headings, pretty is for paragraphs
balance on long paragraphs Browsers cap balance because it is expensive: Chromium ≤ 6 lines, Firefox ≤ 10. Past that the declaration stays but the result is the same as wrap, and below it every line is computed again on each width change. For body text use pretty, which only touches the last few lines.text-wrap only decides where lines break. If the text fits on one line (a column too wide, a short heading), nothing breaks and every value looks the same. Limit the width (max-width, in ch for instance), or test on a narrow screen.pretty in every browser balance is widely supported, pretty isn't everywhere yet, and its results differ between browsers (Chromium only weighs the last few lines). A browser that doesn't know it drops the declaration, so nothing breaks, it just isn't tidied. For text that must be tidy everywhere, glue the last two words with .nowrap so a heading never breaks badly, and it runs off the phone screen nowrap forbids every wrap point, so once the screen is narrower than one line the text runs out and the page scrolls sideways. Let it wrap and use balance: one line on a wide screen, even lines on a narrow one.wrap leaves one orphan word The word gets a red ring. Look at the draft on the board and the values in the panel: which one fixes it?balance The same number of lines as the wrap draft, but the guides are nearly the same length. The "even %" in the panel goes up.balance on a long, narrow paragraph Past this browser's limit, balance quietly becomes plain wrap: the banner and the draft are exactly the same.