Sub topic 9
Line length and comfortable measure
This chapter assumes you know basic type vocabulary (typeface, font size, weight) and can read simple CSS. It covers measure, the typographic term for line length, and how it supports the reading order you set with size and spacing.
What measure is and why it matters
Measure is the width of a text column, usually counted in characters per line. It affects how easily the eye travels along a line and returns to the start of the next one.
- A line that is too long makes the eye lose its place on the return sweep. Readers re-read lines or skip them.
- A line that is too short breaks sentences into fragments. The eye jumps back too often, and the rhythm of reading suffers.
A common target for body text is 45 to 75 characters per line, with about 65 as a comfortable middle. This is a guideline, not a law. Font, size, and leading all shift the ideal.
Setting measure in CSS
The ch unit is the width of the "0" glyph in the current font. It tracks the font, so a cap of 65ch stays close to 65 characters whatever size you choose. Pixels do not follow the type, so they drift out of range when the font size changes.
body {
font-family: Georgia, serif;
font-size: 1rem;
line-height: 1.5;
}
p {
max-width: 65ch;
}
h1 {
font-size: 2.441rem;
line-height: 1.15;
font-weight: 700;
}Use max-width, not width. On a narrow phone the paragraph then shrinks to fit the screen. On a wide desktop it stops at 65 characters.
Measure works together with leading
Measure and line height are linked. Longer lines need more leading, because the eye needs a clearer path back to the next line. Shorter lines can use slightly tighter leading.
| Situation | Measure | Leading |
|---|---|---|
| Narrow sidebar note | 35 to 45 characters | about 1.4 |
| Main article column | 60 to 70 characters | 1.5 |
| Wide column you cannot narrow | 80 or more characters | 1.6 or higher |
If a column runs past 80 characters, narrowing it is usually better than adding leading.
Headlines and measure
Headlines are larger and have fewer lines, so they can be set to a different measure than body text. A headline that spreads across the full page width is hard to scan. A headline held to a narrower box wraps into two or three lines that read as one unit. Headlines are measured in the same units, but they often run to fewer characters per line, because large type fills the width quickly.
Measure and the grid
A page often has room for a wider area than a good text column. Do not stretch the text to fill it. Let the column stay at its comfortable measure, and use the extra space for margins, side notes, or images. A consistent column edge also gives the layout a clean alignment line, which the grid chapter covers later.
Common errors
- Using a fixed pixel width. The measure changes whenever the font size changes.
- Setting
width: 65chinstead ofmax-width: 65ch. The column then overflows narrow screens. - Applying the cap to the whole page container. Headings, images, and tables get squeezed too. Apply it to text elements such as
pandli. - Judging measure on your own wide monitor only. Test it at phone and tablet widths as well.
Exercise
A paragraph runs about 95 characters per line on a wide screen, with line-height 1.4. Name two changes that would improve readability, and say which you would try first.
Show answer
Narrow the column, for example with max-width: 65ch, and increase line-height toward 1.5 or higher. Try narrowing first, because a shorter line fixes the main problem (the eye losing its place) and more leading only partly compensates for a line that is too long.
Exercise
Why is max-width: 65ch preferred over max-width: 600px for body text?
Show answer
The ch unit scales with the font, so the column stays near 65 characters when the font size changes. A pixel value gives a different character count at each font size.