Skip to content

Instantly share code, notes, and snippets.

@jefffis
Created May 21, 2014 18:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jefffis/44e2a0daf1704492f623 to your computer and use it in GitHub Desktop.
Save jefffis/44e2a0daf1704492f623 to your computer and use it in GitHub Desktop.
Mailchimp Editor Issues
// email code in MC
<!--[if mso]>
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="http://leagueappspartnerdays.com/events/34496-leagueapps-partner-day-in-boston" arcsize="75%" strokecolor="#d54a1f" fillcolor="#fb8a06" style="height:40px;v-text-anchor:middle;width:300px;" >
<w:anchorlock/>
<center style="color:#ffffff;font-family:sans-serif;font-size:13px;font-weight:bold;" >Register for our next<br>Partner Day in Boston</center>
</v:roundrect>
<![endif]-->
<a href="http://leagueappspartnerdays.com/events/34496-leagueapps-partner-day-in-boston" class="btn ctr two-line" style="background-color:#fb8a06;background-image:none;background-repeat:repeat;background-position:4c06);background-attachment:scroll;display:block;color:white;text-decoration:none;font-size:20px;text-shadow:0 1px 0 rgba(0,0,0,0.15), 0 2px 1px rgba(0,0,0,0.1);border-width:2px;border-style:solid;border-color:#d54a1f;mso-hide:all;letter-spacing:-.25px;border-radius:100px;line-height:22px;max-width:350px;text-align:center;margin-top:10px;margin-bottom:0;margin-right:auto;margin-left:auto;font-weight:bold;-webkit-box-shadow:0 0 0 4px #ddd;-moz-box-shadow:0 0 0 4px #ddd;box-shadow:0 0 0 4px #ddd;padding-top:12px;padding-bottom:12px;padding-right:0;padding-left:0;">Register for our next<br>Partner Day in Boston</a>
// rendered in Gmail as
<a href="http://leagueapps.us2.list-manage.com/track/click?u=c62fd0e64affe5aaba980e1d2&amp;id=cf80ba42be&amp;e=d112302e97" target="_blank">Register for our next<br>Partner Day in Boston</a>
@jefffis
Copy link
Author

jefffis commented May 21, 2014

This was inlined via CampaignMonitor's inline tool -- http://inliner.cm/ -- which normally works great. I think the issue was this line of code:

background-color:#fb8a06;background-image:none;background-repeat:repeat;background-position:4c06);background-attachment:scroll;

Normally, replace this with my original (non-inlined code) of:

background:#fb8a06;background:-webkit-gradient(linear,0 0,0 bottom,from(#fb8a06),to(#fb4c06));background:-webkit-linear-gradient(#fb8a06,#fb4c06);background:-moz-linear-gradient(#fb8a06,#fb4c06);background:-ms-linear-gradient(#fb8a06,#fb4c06);background:-o-linear-gradient(#fb8a06,#fb4c06);background:linear-gradient(#fb8a06,#fb4c06);

When I tested the email with the latter, it worked fine. When I updated the email and forgot to redo this bit, the email was sent live and this is where the issue occurred.

No huge deal, just curious.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment