Question
CTA button alignment issue in Outlook for Windows/Mac
Having an issue with CTA button alignment in the Outlook client for Windows. The alignment always gets pushed left no matter what we input in the template before sending it out. Any idea what would be causing this?
Below is the code for one of our CTA buttons. I have also attached 2 pictures with how it previews in Marketo vs how it shows in Outlook.
<tr class="mktoModule" id="orangeCTAModule" mktoname="Orange CTA Module" mktoaddbydefault="true" style="border-collapse:collapse !important;">
<td style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;word-break: break-word;-webkit-hyphens: none;-moz-hyphens: none;hyphens: none;border-collapse: collapse;background-color:#F5F5F5;" bgcolor="#F5F5F5" valign="top">
<table style="-webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0; border-collapse: collapse; margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto;" align="center" border="0" cellpadding="0" cellspacing="0" width="640" class="fullWidth">
<tbody>
<tr>
<td style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;word-break: break-word;-webkit-hyphens: none;-moz-hyphens: none;hyphens: none;border-collapse: collapse;">
<table align="center" role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="width: 100%;" bgcolor="#F5F5F5">
<tbody>
<tr>
<td valign="top" align="center" style="padding: 0px;">
<table width="640" cellpadding="0" cellspacing="0" border="0" role="presentation" align="center" class="fullWidth" bgcolor="#F5F5F5" style="width:640px;">
<tbody>
<tr>
<td valign="top" align="left" style="padding-left: 40px;padding-right: 40px; padding-top:10px; padding-bottom:10px;">
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation">
<tbody>
<tr>
<td valign="top" align="left">
<!--[if mso]>
<td>
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="${CTAurl}" style="height:45px;v-text-anchor:middle;width:260px;" arcsize="15%" strokecolor="${CTABorderColor}" fillcolor="${CTABgColor}">
<w:anchorlock/>
<center style="color:${CTATextColor};font-family:'Roboto', arial; font-size: 18px; line-height: 24px; font-weight: 500; text-decoration: none;; color: ${CTATextColor}; padding: 10px 35px; display: inline-block;">${CTAtext} </center>
</v:roundrect>
</td>
<![endif]-->
<!--[if !mso]><!-- -->
<table cellpadding="0" cellspacing="0" border="0" role="presentation" class="fullWidth" align="${ctabuttonalign}">
<tbody>
<tr>
<th valign="top" class="stack-column primarytext" align="left">
<table border="0" cellspacing="0" cellpadding="0" role="none" class="fullWidth primary primarytext" style="border-collapse: separate !important;border-radius: 8px;min-width:260px;max-width:260px;" align="left">
<tbody>
<tr>
<td valign="top" align="center" class="primary primarytext" bgcolor="${CTABgColor}" style=" border: 1px solid ${CTABorderColor}; mso-padding-alt: 10px 35px; border-radius: 8px;"> <a target="_blank" class="primarytext" href="${CTAurl}" style="font-family:'Roboto', arial; font-size: 18px; line-height: 24px; font-weight: 500; text-decoration: none;; color: ${CTATextColor}; padding: 10px 35px; display: inline-block; "> ${CTAtext}</a> </td>
</tr>
</tbody>
</table> </th>
</tr>
</tbody>
</table>
<!--<![endif]--> </td>
</tr>
</tbody>
</table> </td>
</tr>
</tbody>
</table> </td>
</tr>
</tbody>
</table> </td>
</tr>
</tbody>
</table> </td>
</tr> 
