line-height
CSS property · 13 supported, 2 partial, 0 unsupported across 15 clients
line-height controls the vertical rhythm of text and is one of the most legibility-critical CSS properties in email. Email clients tend to add their own baseline corrections, and Outlook on Windows often shifts line-height calculations by 1–2 pixels relative to web browsers, which can cumulatively offset long blocks of body copy.
Client Support
| Client | Category | Engine | Support |
|---|---|---|---|
| Gmail | webmail | Gmail Web | Supported |
| Gmail Android | mobile | Gmail Mobile | Supported |
| Gmail iOS | mobile | Gmail Mobile | Supported |
| Outlook 365 | webmail | Outlook Web | Supported |
| Outlook (New) | desktop | Outlook Web | Partial |
| Outlook Classic | desktop | Microsoft Word | Partial |
| Outlook iOS | mobile | Outlook Mobile | Supported |
| Outlook Android | mobile | Outlook Mobile | Supported |
| Apple Mail | desktop | WebKit | Supported |
| Apple Mail iOS | mobile | WebKit | Supported |
| Yahoo Mail | webmail | Yahoo | Supported |
| Samsung Mail | mobile | Samsung | Supported |
| Thunderbird | desktop | Gecko | Supported |
| HEY Mail | webmail | WebKit | Supported |
| Superhuman | desktop | Blink | Supported |
Client-by-client behaviour for line-height
Fully supports line-height (13): Gmail, Gmail Android, Gmail iOS, Outlook 365, Outlook iOS, Outlook Android, Apple Mail, Apple Mail iOS, Yahoo Mail, Samsung Mail, Thunderbird, HEY Mail, Superhuman.
Partial support (2): Outlook (New), Outlook Classic. Expect rendering quirks unique to each engine — partial support typically means a subset of values, an ignored shorthand, or sanitizer-specific rewrites.
When to use line-height in email
- Setting comfortable body-copy leading (typically 1.4–1.6) for readability on small screens.
- Tightening headline leading to keep multi-line titles visually unified.
- Acting as a vertical-spacer trick by setting a large line-height on an empty table cell.
Rendering behaviour and edge cases
- Outlook on Windows uses a different baseline algorithm and can shift text vertically by a pixel or two compared to web browsers.
- Some Android clients scale line-height with user accessibility text-size settings, breaking precise vertical rhythm.
- Setting line-height as a unitless number (e.g. 1.5) is more reliable than fixed px values, as it scales with the inherited font-size.
Recommended fallback strategy
Always pair font-size with an explicit line-height. Prefer unitless values for inherited typography. For pixel-perfect spacer rows, combine an explicit line-height with a height attribute on the <td> to give Outlook a stable vertical baseline.
Fixes & Workarounds
Outlook (New)
Partial"line-height" is not supported in this email client.
Outlook Classic
Partial"line-height" is not supported in this email client.
Related Features
Test your email across all 15 clients
Preview rendering, catch CSS issues, and get actionable fixes — free.
Try Emailens FreeSupport data last updated Apr 27, 2026 · synced from caniemail.com via @emailens/engine.