MailViewr - Free HTML Email Preview Tool
← CSS Support Index

Does CSS max-width Work in HTML Email?

This is the description of the `max-width` property.

Quick Answer

Does max-width work in HTML email?

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

Which Email Clients Support CSS max-width?

CSS support for max-width across email clients

Email ClientDesktopMobile / WebNotes
Gmail✓ Yes✓ Yes
Outlook (Windows)~ Partial?
Outlook (Mac / Web)✓ Yes✓ Yes
Apple Mail✓ Yes~ Partial
Yahoo! Mail✓ Yes✓ Yes
Samsung Email?✓ Yes
Thunderbird✓ Yes?
ProtonMail✓ Yes✓ Yes
Fastmail✓ Yes?

Notes

  • #1 Partial. Only works on `<table>` elements.
  • #2 Partial. Doesn't work on `<table>` elements, as per [CSS 2.1 specification](https://www.w3.org/TR/CSS2/visudet.html#min-max-widths).

Frequently Asked Questions

Related CSS Properties

Test Your Email Now

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

Open Email Previewer