← CSS Support IndexDoes CSS
Does CSS height property Work in HTML Email?
Sets the height of an element's content area, excluding padding, border, and margin.
Quick Answer
Does height property work in HTML email?
The CSS height property property is supported in Gmail, Outlook (Windows), Outlook (Mac / Web), Apple Mail, and others. It is NOT supported in Yahoo! Mail. Always include a safe fallback for unsupported clients.
Which Email Clients Support CSS height property?
CSS support for height property across email clients
| Email Client | Desktop | Mobile / Web | Notes |
|---|---|---|---|
| Gmail | ✓ Yes | ✓ Yes | — |
| Outlook (Windows) | ✓ Yes | ? | — |
| Outlook (Mac / Web) | ✓ Yes | ✓ Yes | — |
| Apple Mail | ✓ Yes | ✓ Yes | — |
| Yahoo! Mail | ✗ No | ✗ No | — |
| Samsung Email | ? | ✓ Yes | — |
| Thunderbird | ✓ Yes | ? | — |
| ProtonMail | ✓ Yes | ✓ Yes | — |
| Fastmail | ✓ Yes | ? | — |
Notes
- #1 Buggy. Replaces `height` by `min-height`.
- #2 Partial. Not supported on `<body>`, `<span>`, `<div>` or `<p>` elements.
Frequently Asked Questions
Related CSS Properties
Test Your Email Now
Paste your HTML and see how it renders in clients that don't support height property.