I am asking myself if there is a 2022/23 Solution for the problem with rounded corners in Outlook and all the email Clients.
Sadly, its not realy supported in every Client. I know, support for every Client is quiet difficult, but the Solution is really buggy sometimes.
I wonder if there are new approaches to solve the problem?
I tried the solution above but it´s really buggy.
2
Answers
border-radius
has very good support across email clients nowadays. (See Can I email). For Outlook on Windows, VML is still the way to go. But I would usually recommend to let things gracefully degrade instead (meaning you’ll get square corners).There are VML solutions that make you duplicate the
<a>
link, which is not safe. I found this the other day that lets you keep just one<a>
, and there is a generator.This goes in the
<head>
, to help with Windows Mail dark mode for full colour background buttons:This is the button itself, at full radius (for small corners or different sizes see the generator https://vml-pather.glitch.me/?shape=button):
Keep in mind the width on mobiles (rule of thumb 300px aim for), not to make the button width too long.