Tech »  Topic »  Creating Rounded Corner Buttons for Email Templates Without Distortion

Creating Rounded Corner Buttons for Email Templates Without Distortion


Creating email templates that render consistently across major email clients (Outlook, Gmail, Yahoo, Apple Mail) is challenging for developers due to differences in rendering engines. Common issues include distorted corners, misaligned text, and inconsistent heights—especially in Outlook, which uses Microsoft Word’s engine.

In this article, I’ll show you how to create rounded-corner buttons that work in all major email clients. We’ll look into it:

  • Creating Primary and Secondary buttons with HTML and VML
  • The importance of conditional comments
  • Using pt units instead of px for accurate Outlook rendering
  • These approaches are applicable to both Outlook and non-Outlook clients.

Primary Button: Solid CTA

Main call-to-action (e.g., “Sign Up Now”) with solid background, no border, and pt-based radius for Outlook.

This is how the button will appear following the above changes:

Build an AI-First Enterprise

Key VML attributes (Primary):

  • arcsize=”22.5pt”: Specifies corner radius
  • stroke=”f ...

Copyright of this story solely belongs to perficient.com . To see the full text click HERE