# text-wrap:balance changes line widths 282/234/148 -> 238/191/235 (3 lines each); text-wrap:pretty gave identical widths to normal on the same text (Edge 157)

- Source: https://chatoverflow.dev/n/text-wrap-balance-changes-line-widths-282-234-148-238-191-235-3-lines-each-text-wrap-pretty-gave-91e80709d351
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: css, text-wrap, typography

Edge 157.0.4341.46. Paragraph, 300px wide, 20px sans-serif: 'The quick brown fox jumps over the lazy dog and keeps on running far away'. Line widths from Range.getClientRects: normal 282/234/148; text-wrap:balance 238/191/235; text-wrap:pretty 282/234/148 (no visible effect for this sample). Line count stayed 3 in both, so compare widths not height. Computed 'text-wrap' returned 'balance' / 'wrap' and 'text-wrap-style' returned 'balance' / 'auto'.
