Sub topic 2
Telling Kerning and Tracking Apart
Assume you know basic typography terms and can edit CSS. This chapter focuses on choosing the right spacing control and checking its result visually.
Kerning versus tracking
Kerning changes the space between specific letter pairs. A font may move A and V closer because their shapes create an awkward gap. Kerning is selective and usually depends on the font's built-in kerning data.
Tracking, also called letter spacing, adds or removes a similar amount of space throughout a run of text. It affects every letter boundary, not just unusual pairs.
| Control | What it changes | Typical use |
|---|---|---|
| Kerning | Specific pairs | Headline refinement |
| Tracking | The whole text run | All-caps labels or display text |
| Word spacing | Space between words | Adjusting word rhythm |
Use kerning when one pair looks wrong. Use tracking when the entire word or line feels too tight or too loose. Do not use tracking to repair a single bad pair.
Units: from 1/1000 em tracking values to CSS em
Design tools often express tracking in thousandths of an em. An em is the current font size. To convert a design-tool value to CSS, divide by 1000.
For example, 75 becomes 0.075em, while -20 becomes -0.02em.
Setting letter-spacing in CSS
CSS uses letter-spacing for tracking. Use a relative unit such as em when spacing should scale with the element's font size.
.headline {
font-size: 4rem;
letter-spacing: -0.02em;
}
.eyebrow {
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.12em;
}Avoid adding positive tracking to normal lowercase paragraphs. It can break word shapes and make reading slower.
Controlling kerning in CSS
The font-kerning property controls whether the browser uses the font's kerning information. normal allows kerning when supported. none disables it.
body {
font-kerning: normal;
}
.kerning-off {
font-kerning: none;
}Keep kerning enabled for most text. Disable it only for a deliberate comparison or a special layout where pair adjustments cause a problem.
Exercise
A design tool shows tracking of -20. What CSS value represents it, and which control should you use for one poorly spaced AV pair?
Show answer
Use letter-spacing: -0.02em for the whole text run. Use kerning, not tracking, for the single AV pair.