Skip to main content
Emailens
CSS Properties

box-sizing

CSS property · 16 supported, 0 partial, 5 unsupported across 21 clients

16 of 21 email clients render box-sizing fully (Oct 14, 2026 data); it breaks outright in Outlook Classic, Yahoo Mail, Yahoo Mail Android and 2 more.

  • 5/7 webmail, 5/6 desktop, 6/8 mobile clients support box-sizing fully.
  • Unsupported in Outlook Classic, Yahoo Mail, Yahoo Mail Android, Yahoo Mail iOS and 1 more.
  • Outlook Classic (Word engine, supported to at least 2029) does not fully support box-sizing, one of the few features its replacement actually fixes; see the deprecation diff.
  • Documented before/after fixes on this page cover 21 clients, including Gmail and Gmail Android.
  • Across all clients, only 6 of 298 tracked HTML/CSS features render identically everywhere.

Source: caniemail.com (MIT), via the Emailens engine. Last tested upstream Feb 28, 2019, synced by Emailens Oct 14, 2026.

Client Support

ClientCategoryEngineSupport
GmailwebmailGmail WebSupported
Gmail AndroidmobileGmail MobileSupported
Gmail iOSmobileGmail MobileSupported
Outlook 365webmailOutlook WebSupported
Outlook (New)desktopOutlook WebSupported
Outlook ClassicdesktopMicrosoft WordUnsupported
Outlook iOSmobileOutlook MobileSupported
Outlook AndroidmobileOutlook MobileSupported
Outlook for MacdesktopWebKitSupported
Apple MaildesktopWebKitSupported
Apple Mail iOSmobileWebKitSupported
Yahoo MailwebmailYahooUnsupported
Yahoo Mail AndroidmobileYahooUnsupported
Yahoo Mail iOSmobileYahooUnsupported
Samsung MailmobileSamsungSupported
ThunderbirddesktopGeckoSupported
HEY MailwebmailWebKitSupported
Proton MailwebmailProtonSupported
AOL MailwebmailAOLUnsupported
FastmailwebmailFastmailSupported
SuperhumandesktopBlinkSupported

box-sizing in real email clients

The same test email, screenshotted in each client on 14 October 2026. Where it is supported you should see: both bars the same width.

Outlook 2016 (Windows)

Real client

box-sizing test in real Outlook 2016 (Windows)

Emailens simulation

box-sizing test in the Emailens simulation of Outlook 2016 (Windows)
Outlook 2019 (Windows)

Real client

box-sizing test in real Outlook 2019 (Windows)

Emailens simulation

box-sizing test in the Emailens simulation of Outlook 2019 (Windows)
Outlook 2007 (Windows)

Real client

box-sizing test in real Outlook 2007 (Windows)

Emailens simulation

box-sizing test in the Emailens simulation of Outlook 2007 (Windows)
Outlook for Microsoft 365

Real client

box-sizing test in real Outlook for Microsoft 365

Emailens simulation

box-sizing test in the Emailens simulation of Outlook for Microsoft 365
Outlook for Mac

Real client

box-sizing test in real Outlook for Mac

Emailens simulation

box-sizing test in the Emailens simulation of Outlook for Mac
Outlook.com

Real client

box-sizing test in real Outlook.com

Emailens simulation

box-sizing test in the Emailens simulation of Outlook.com
Gmail (web)

Real client

box-sizing test in real Gmail (web)

Emailens simulation

box-sizing test in the Emailens simulation of Gmail (web)
Apple Mail (macOS)

Real client

box-sizing test in real Apple Mail (macOS)

Emailens simulation

box-sizing test in the Emailens simulation of Apple Mail (macOS)
Apple Mail (iPhone 13)

Real client

box-sizing test in real Apple Mail (iPhone 13)

Emailens simulation

box-sizing test in the Emailens simulation of Apple Mail (iPhone 13)
Yahoo Mail

Real client

box-sizing test in real Yahoo Mail

Emailens simulation

box-sizing test in the Emailens simulation of Yahoo Mail
Windows Mail

Real client

box-sizing test in real Windows Mail

Top: a screenshot from a real install. Below it: what the Emailens simulation shows for the same client, in a second, on every plan. Check your own email in real Outlook, free · run it now.

Client-by-client behaviour for box-sizing

Fully supports box-sizing (16): Gmail, Gmail Android, Gmail iOS, Outlook 365, Outlook (New), Outlook iOS, Outlook Android, Outlook for Mac, Apple Mail, Apple Mail iOS, Samsung Mail, Thunderbird, HEY Mail, Proton Mail, Fastmail, Superhuman.

No support (5): Outlook Classic, Yahoo Mail, Yahoo Mail Android, Yahoo Mail iOS, AOL Mail. Plan fallbacks for these clients before relying on box-sizing in production sends.

Fixes & Workarounds

Outlook Classic

Unsupported

Account for padding in your width calculations (use padding on a nested element).

Before (Broken)

before.html
<div style="width: 300px; padding: 20px;
            box-sizing: border-box;">
  Content; total width stays 300px
</div>

After (Fixed)

fixed.html
<div style="width: 300px;">
  <div style="padding: 20px;">
    Content; padding on inner element
  </div>
</div>

Account for padding in width manually (no box-sizing)

Yahoo Mail

Unsupported

Account for padding in your width calculations (use padding on a nested element).

Before (Broken)

before.html
<div style="width: 300px; padding: 20px;
            box-sizing: border-box;">
  Content; total width stays 300px
</div>

After (Fixed)

fixed.html
<div style="width: 300px;">
  <div style="padding: 20px;">
    Content; padding on inner element
  </div>
</div>

Account for padding in width manually (no box-sizing)

Yahoo Mail Android

Unsupported

Account for padding in your width calculations (use padding on a nested element).

Before (Broken)

before.html
<div style="width: 300px; padding: 20px;
            box-sizing: border-box;">
  Content; total width stays 300px
</div>

After (Fixed)

fixed.html
<div style="width: 300px;">
  <div style="padding: 20px;">
    Content; padding on inner element
  </div>
</div>

Account for padding in width manually (no box-sizing)

Yahoo Mail iOS

Unsupported

Account for padding in your width calculations (use padding on a nested element).

Before (Broken)

before.html
<div style="width: 300px; padding: 20px;
            box-sizing: border-box;">
  Content; total width stays 300px
</div>

After (Fixed)

fixed.html
<div style="width: 300px;">
  <div style="padding: 20px;">
    Content; padding on inner element
  </div>
</div>

Account for padding in width manually (no box-sizing)

AOL Mail

Unsupported

Account for padding in your width calculations (use padding on a nested element).

Before (Broken)

before.html
<div style="width: 300px; padding: 20px;
            box-sizing: border-box;">
  Content; total width stays 300px
</div>

After (Fixed)

fixed.html
<div style="width: 300px;">
  <div style="padding: 20px;">
    Content; padding on inner element
  </div>
</div>

Account for padding in width manually (no box-sizing)

Production guidance for box-sizing

box-sizing is a CSS property. Across the email client matrix, 16 of 21 tracked clients support it fully, 0 only partially, and 5 not at all. The clients most likely to require a workaround for this feature are Outlook Classic, Yahoo Mail, Yahoo Mail Android. Each of them needs a tailored fallback. See the per-client examples above for the specific code fix Emailens recommends.

When in doubt, ship a baseline that renders without box-sizing and treat it as progressive enhancement on clients where support is verified. Emailens automatically detects cross-client divergence on this feature when you preview an email, so you can see exactly which template paths break before a campaign goes out.

Related Features

Check your own HTML for box-sizing

Paste your own, or run the sample below. Analyzed in this page, with no signup and nothing stored.

Zero-Friction Engine Preview

Test your box-sizing layout across 21 email clients

Preview rendering, catch CSS issues, and see how box-sizing displays across Outlook, Gmail, and Apple Mail. Free, no account needed.

Instant live preview · No signup required · 21 email engines

Last tested upstream: · Last synced by Emailens:

caniemail.com (MIT) records Feb 28, 2019 as the last time box-sizing was tested in a real client, 7 years before this sync. Syncing copies that result forward, it does not re-test it. Carried in @emailens/engine data v0.14.5.