mailchimp / email-blueprints

Email Blueprints is a collection of HTML email templates that can serve as a solid foundation and starting point for the design of emails

Home Page:http://templates.mailchimp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gmail Strips Button Style In transactional_tabular.html

jgill333 opened this issue · comments

When transactional_tabular.html is rendered in Gmail the button styling for the template button (and other styling) is stripped/removed.

Gmail does not end up liking this:

<tr>
                                                        <td align="center" valign="top" style="padding-top:0;">
                                                            <table border="0" cellpadding="15" cellspacing="0" class="templateButton">
                                                                <tr>
                                                                    <td valign="middle" class="templateButtonContent">
                                                                        <div>
                                                                            <a href="http://www.mandrill.com/" target="_blank">See What Mandrill Can Do</a>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>

Same thing happens in yahoo aswell

Hi all

I'm not sure if it helps, but solution here could be to use tag instead. I took this from mailchimp's button from gmail. I'm not sure if this is compatible to all other clients mails.

example:

button