← CSS Support Index

Does CSS text-align Work in HTML Email?

Sets the horizontal alignment of the content.

Quick Answer

Does text-align work in HTML email?

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

Which Email Clients Support CSS text-align?

CSS support for text-align across email clients

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

Notes

  • #1 Partial. Flow-relative values `start` and `end` are not supported.
  • #2 Partial. Flow-relative values `start` and `end` are not supported with non Gmail account.

Frequently Asked Questions

Related CSS Properties

Test Your Email Now

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

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