HTML element · data last changed 10 Nov 2026
<div> in email clients
Works in 20 of 21. Untested in Superhuman.
caniemail (MIT) via @emailens/engine 0.18.22
No signup · Five clients free, Outlook Classic included · All 21 with an account
The checker needs a computer screen.
A free account opens all 21 clients and keeps your checks for 7 days. Create a free account →
<div> is not among the 24 features we have screenshotted on real installs. The ones we have →
All 21 clients, problems first
| Client | Support |
|---|---|
| Superhuman | Untested |
Works in 20: Gmail, Gmail Android, Gmail iOS and 17 more. Show all
| Client | Support |
|---|---|
| Gmail | Works |
| Gmail Android | Works |
| Gmail iOS | Works |
| Outlook 365 | Works |
| Outlook (New) | Works |
| Outlook Classic | Works |
| Outlook iOS | Works |
| Outlook Android | Works |
| Outlook for Mac | Works |
| Apple Mail | Works |
| Apple Mail iOS | Works |
| Yahoo Mail | Works |
| Yahoo Mail Android | Works |
| Yahoo Mail iOS | Works |
| Samsung Mail | Works |
| Thunderbird | Works |
| HEY Mail | Works |
| Proton Mail | Works |
| AOL Mail | Works |
| Fastmail | Works |
How <div> behaves
The <div> element is a generic block-level container and is supported by every email client. However, it is far less reliable than <table> for layout purposes, Outlook Classic applies inconsistent margin and padding to divs, and several clients reset block-level styles at div boundaries. Best practice in email development is to use tables for layout and divs only for grouping styled content within a cell.
- Outlook Classic applies margin and padding to divs inconsistently, never use a <div> for spacing critical to layout.
- Some clients collapse adjacent divs that have background-color set when content height is zero.
- Yahoo Mail's sanitizer occasionally rewrites class names on div elements, breaking class-based selectors.
Use <table> for any structural layout and reserve <div> for inline content grouping inside cells. Always verify Outlook rendering before relying on margin or padding applied to a <div>.
Your next question
Paste your email
Get new email CSS fixes by email.