← CSS Support Index

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 ClientDesktopMobile / WebNotes
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.

Open Email Previewer

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 width property can't sneak into your markup by accident. Open the Email Builder →