Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buttons #3

Closed
MoJoana opened this issue Apr 17, 2014 · 6 comments
Closed

Buttons #3

MoJoana opened this issue Apr 17, 2014 · 6 comments
Labels
bug something in the original template doesn't display correctly

Comments

@MoJoana
Copy link

MoJoana commented Apr 17, 2014

On my outlook, the button looses the link... both on default template, as in my customized one! Help?

@TedGoas
Copy link
Owner

TedGoas commented Apr 24, 2014

@MoJoana Which version(s) of Outlook are you seeing this behavior? And is the anchor text itself still linked but the space around it is dead?

@MoJoana
Copy link
Author

MoJoana commented Apr 28, 2014

Hi there,

sorry it was holiday here in Portugal.

Outlook 2010...the button just looks like an image, it doens't let you
click, the hand icon on mouse over doesnt even show up.

best regards,

2014-04-24 21:05 GMT+01:00 Ted Goas notifications@github.com:

@MoJoana https://github.com/MoJoana Which version(s) of Outlook are you
seeing this behavior? And is the anchor text itself still linked but the
space around it is dead?


Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-41325550
.


Joana Oliveira,
http://about.me/joanaoliveira

@TedGoas
Copy link
Owner

TedGoas commented Apr 29, 2014

@MoJoana Thank you for the details. I'd been using Campaign Monitor's Bulletproof Buttons, though apparently they cause click and tracking issues in Outlook. I replaced them with vanilla <td>'s with a background color. Won't look as snazzy in Outlook without things like the image gradient and round corners, but the block containing the link will display a clickable and trackable link.

The markup looks something like this:

<table cellspacing="0" cellpadding="0" border="0" style="border-radius: 3px; background: #444444; background-image: url(assets/bg-btn.png); background-position: top left; background-repeat: repeat-x;border: 1px solid #333333;" class="button">
  <tr>
    <td style="padding: 15px 20px; font-family: sans-serif; color: #ffffff; font-size: 15px; line-height: 15px; text-align: center;">
      <a href="http://www.google.com" style="text-decoration: none; color: #ffffff; display: block;">
        <b>A Button</b>
      </a>
    </td>
  </tr>
</table>

There is a good Twitter conversation here that helps explain why this is a pretty good way to handle live-text buttons. It's now the technique I'm employing in my own emails. I hope it works for you too!

@soundslocke
Copy link

We actually ran into the same problem with Campaign Monitor's buttons. Very far from "bulletproof." The <td> approach serves us well though!

@TedGoas
Copy link
Owner

TedGoas commented May 1, 2014

FWIW Campaign Monitor's buttons are bulletproof in a visual sense, but a bit problematic with clicks and tracking.

@TedGoas
Copy link
Owner

TedGoas commented May 1, 2014

I'm going to close this for now since it seems to be resolved. Please open a new issue or pull request if you guys find new / better techniques!

@TedGoas TedGoas closed this as completed May 1, 2014
@TedGoas TedGoas added the bug label May 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something in the original template doesn't display correctly
Projects
None yet
Development

No branches or pull requests

3 participants