← CSS Support IndexDoes CSS
Does CSS line-height Work in HTML Email?
Sets the height of a line box. Or, basically, the height of a line of text.
Quick Answer
Does line-height work in HTML email?
The CSS line-height property is supported in all major email clients tested. You can use it with confidence in your HTML emails.
Which Email Clients Support CSS line-height?
CSS support for line-height across email clients
| Email Client | Desktop | Mobile / Web | Notes |
|---|---|---|---|
| Gmail | ✓ Yes | ✓ Yes | — |
| Outlook (Windows) | ~ Partial | ? | — |
| Outlook (Mac / Web) | ✓ Yes | ✓ Yes | — |
| Apple Mail | ✓ Yes | ✓ Yes | — |
| Yahoo! Mail | ✓ Yes | ✓ Yes | — |
| Samsung Email | ? | ✓ Yes | — |
| Thunderbird | ✓ Yes | ? | — |
| ProtonMail | ✓ Yes | ✓ Yes | — |
| Fastmail | ✓ Yes | ? | — |
Notes
- #1 Buggy. `em` and `px` units behave weirdly. Use `mso-line-height-rule:exactly`.
- #2 Partial. `normal` value is not supported.
Frequently Asked Questions
Related CSS Properties
Test Your Email Now
Paste your HTML and see how it renders in clients that don't support line-height.