← CSS Support IndexDoes CSS
Does CSS px unit Work in HTML Email?
Support for pixels unit
Quick Answer
Does px unit work in HTML email?
The CSS px unit property is supported in all major email clients tested. You can use it with confidence in your HTML emails.
Which Email Clients Support CSS px unit?
CSS support for px unit 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 | ? | — |
Frequently Asked Questions
Related CSS Properties
Test Your Email Now
Paste your HTML and see how it renders in clients that don't support px unit.
Building a new email instead of checking an existing one? MailViewr's Email Builder only lets you use CSS that's known to render across clients, so px unit can't sneak into your markup by accident. Open the Email Builder →
