MailViewr - Free HTML Email Preview Tool
← CSS Support Index

Does CSS padding Work in HTML Email?

This test includes support for the `padding` shorthand property as well as for `padding-left`, `padding-right`, `padding-top` and `padding-bottom`.

Quick Answer

Does padding work in HTML email?

The CSS padding property is supported in all major email clients tested. You can use it with confidence in your HTML emails.

Which Email Clients Support CSS padding?

CSS support for padding across email clients

Email ClientDesktopMobile / WebNotes
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 Partial. Only supported on table cells.
  • #2 Buggy. Vertical padding will be the same for all cells of a same row, adopting the biggest value.

Frequently Asked Questions

Related CSS Properties

Test Your Email Now

Paste your HTML and see how it renders in clients that don't support
padding.

Open Email Previewer