Skip to main content
CSS Properties

text-align

CSS property · 10 supported, 5 partial, 0 unsupported across 15 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 MobilePartial
Outlook 365webmailOutlook WebSupported
Outlook (New)desktopOutlook WebPartial
Outlook ClassicdesktopMicrosoft WordPartial
Outlook iOSmobileOutlook MobileSupported
Outlook AndroidmobileOutlook MobileSupported
Apple MaildesktopWebKitSupported
Apple Mail iOSmobileWebKitSupported
Yahoo MailwebmailYahooPartial
Samsung MailmobileSamsungSupported
ThunderbirddesktopGeckoSupported
HEY MailwebmailWebKitSupported
SuperhumandesktopBlinkSupported

Client-by-client behaviour for text-align

Fully supports text-align (10): Gmail, Outlook 365, Outlook iOS, Outlook Android, Apple Mail, Apple Mail iOS, Samsung Mail, Thunderbird, HEY Mail, Superhuman.

Partial support (5): Gmail Android, Gmail iOS, Outlook (New), Outlook Classic, Yahoo 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.

Gmail iOS

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.

Related Features

Test your email across all 15 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.