Padding on a button for email clients

Joined
Feb 14, 2023
Messages
1
Reaction score
0
I am struggling to apply padding to this button for an email template, it works when I preview it on my browser but when testing and emailing it to myself it looks as such: | and it should look like:
This is the code I have written for the button:

HTML:
<button padding="10px" onclick="location.href='#" type="button" style="background-color: #214FB6; border: 0px; padding: 10px; color: white; margin-bottom: 1rem; cursor: pointer;">FIND OUT MORE</button>

I presume the email client just doesnt like padding but what is a workaround of this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top