← CSS Support IndexDoes CSS
Does CSS width property Work in HTML Email?
Sets the width of an element's content area, excluding padding, border, and margin.
Quick Answer
Does width property work in HTML email?
The CSS width property property is supported in all major email clients tested. You can use it with confidence in your HTML emails.
Which Email Clients Support CSS width property?
CSS support for width 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 | ✓ Yes | ✓ Yes | — |
| Samsung Email | ? | ✓ Yes | — |
| Thunderbird | ✓ Yes | ? | — |
| ProtonMail | ✓ Yes | ✓ Yes | — |
| Fastmail | ✓ Yes | ? | — |
Notes
- #1 Partial. Not supported on `<body>`, `<span>`, `<div>`, `<p>` or `<img>` elements.
- #2 Buggy. The webmail has a generic style that sets `table { width:inherit; }`.
Frequently Asked Questions
Related CSS Properties
Test Your Email Now
Paste your HTML and see how it renders in clients that don't support width property.