Skip to main content
CSS Properties

text-align

CSS property · 13 supported, 8 partial, 0 unsupported across 21 clients

text-align controls horizontal alignment of inline content within a block-level container and is supported across every modern email client. Most rendering inconsistencies come from inheritance , clients sometimes reset text-align at table boundaries, requiring explicit declarations on each cell.

Client Support

ClientCategoryEngineSupport
GmailwebmailGmail WebSupported
Gmail AndroidmobileGmail MobilePartial
Gmail iOSmobileGmail MobileSupported
Outlook 365webmailOutlook WebSupported
Outlook (New)desktopOutlook WebPartial
Outlook ClassicdesktopMicrosoft WordPartial
Outlook iOSmobileOutlook MobileSupported
Outlook AndroidmobileOutlook MobileSupported
Outlook for MacdesktopWebKitSupported
Apple MaildesktopWebKitSupported
Apple Mail iOSmobileWebKitSupported
Yahoo MailwebmailYahooPartial
Yahoo Mail AndroidmobileYahooPartial
Yahoo Mail iOSmobileYahooPartial
Samsung MailmobileSamsungPartial
ThunderbirddesktopGeckoSupported
HEY MailwebmailWebKitSupported
Proton MailwebmailProtonSupported
AOL MailwebmailAOLPartial
FastmailwebmailFastmailSupported
SuperhumandesktopBlinkSupported

Client-by-client behaviour for text-align

Fully supports text-align (13): Gmail, Gmail iOS, Outlook 365, Outlook iOS, Outlook Android, Outlook for Mac, Apple Mail, Apple Mail iOS, Thunderbird, HEY Mail, Proton Mail, Fastmail, Superhuman.

Partial support (8): Gmail Android, Outlook (New), Outlook Classic, Yahoo Mail, Yahoo Mail Android, Yahoo Mail iOS, Samsung Mail, AOL Mail. Expect rendering quirks unique to each engine. Partial support typically means a subset of values, an ignored shorthand, or sanitizer-specific rewrites.

When to use text-align in email

  • Centering a logo or hero copy in a wide table cell.
  • Right-aligning tabular financial data in receipt and invoice templates.
  • Justifying long-form newsletter copy (rarely recommended due to legibility issues).

Rendering behaviour and edge cases

  • Some clients reset text-align at the <table> boundary, so set it on the inner <td> rather than the wrapping table.
  • Outlook on Windows occasionally inherits a parent <td>'s align attribute over CSS text-align, which can cause unexpected re-alignment.
  • text-align: justify can produce uneven word spacing on small screens , avoid in mobile-first email.

Recommended fallback strategy

Combine the legacy align="center" or align="right" HTML attribute with CSS text-align for maximum compatibility. Always set text-align on the immediate parent of the inline content, not several levels up.

Fixes & Workarounds

Gmail Android

Partial

"text-align" is not supported in this email client.

Outlook (New)

Partial

"text-align" is not supported in this email client.

Outlook Classic

Partial

"text-align" is not supported in this email client.

Yahoo Mail

Partial

"text-align" is not supported in this email client.

Yahoo Mail Android

Partial

"text-align" is not supported in this email client.

Yahoo Mail iOS

Partial

"text-align" is not supported in this email client.

Samsung Mail

Partial

"text-align" is not supported in this email client.

AOL Mail

Partial

"text-align" is not supported in this email client.

Related Features

Test your email across all 21 clients

Preview rendering, catch CSS issues, and get actionable fixes. Free.

Try Emailens Free

Support data last updated Apr 27, 2026 · synced from caniemail.com via @emailens/engine.