Skip to main content
Christine_LeBla
Level 4
Aug 28, 2025 8:24 PM UTC
Question

foolproof editable button that also renders correctly in Outlook

I understand for Outlook rendering engine I must have fixed dimensions. I have tried code like this to no avail, and still there is no padding appearance as such, and the table hugs the text far too closely.

Is there anything more I can do to have a reliable looking, editable button like this in a Marketo email?

<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="margin:0;" align="left"> <tr> <td> <!--[if mso]> <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="https://www.example.com" style="height:50px;v-text-anchor:middle;width:275px;" arcsize="8%" stroke="f" fillcolor="#002f87"> <w:anchorlock/> <center style="color:#ffffff;font-family:Arial, sans-serif; font-size:16px;font-weight:bold;"> Call To Action Text </center> </v:roundrect> <![endif]--> <!--[if !mso]><!-- --> <a href="https://www.example.com" style="display:inline-block;background-color:#002f87;color:#ffffff; font-family:Arial, sans-serif;font-size:16px;font-weight:bold; line-height:50px;text-align:center;text-decoration:none; width:275px;height:50px;border-radius:4px;"> Call To Action Text </a> <!--<![endif]--> </td> </tr> </table>

 

4 replies

Disha_Goyal6
Community Advisor
Community Advisor
Sep 2, 2025 4:43 AM UTC

Hi @christine_lebla, please share the screenshot of how it is rendering. I checked the same in email on acid and it looks good to me.

Translate
SanfordWhiteman
User Group Leader
User Group Leader
Sep 2, 2025 6:22 AM UTC

Note clicks will not be tracked in Outlook using this code.

Translate
Christine_LeBla
Level 4
Sep 2, 2025 11:47 AM UTC

Good to know. Do you have code for a button that actually works in Marketo, and more importantly within Outlook email?

 

Thank you.

Translate