TransWikia.com

Bug email template : Sometimes I get an error on gmail about responsive mobile

Stack Overflow Asked by Cường Hoàng on February 9, 2021

https://screenshoteasy.com/detail/cfvccasqyk

it worked very well. but sometimes I don’t know why it becomes like that. I can reproduce what happens with my email template. Please help me.

<table width="100%" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td>
      <table cellspacing="0" cellpadding="0" align="center">
        <tr>
          <td>
            <table cellspacing="0" cellpadding="0" align="center" style="margin: 0 auto; width: 235px;">
              <tr>
                <td style="border-radius: 2px;" bgcolor="#0077ff">
                  <table cellspacing="0" cellpadding="0" align="center">
                    <tr>
                      <td>
                        <a
                          class="desktop-view"
                          href="https://www.copernica.com"
                          target="_blank"
                          style="padding: 13px 39px; border: 1px solid #0077ff; border-radius: 2px; font-size: 20px; color: #ffffff; text-decoration: none; font-weight: 600; display: inline-block;">GET STARTED</a>
                        <a
                          class="mobile-view"
                          href="https://www.copernica.com"
                          target="_blank"
                          style="padding: 10px 10px; border: 1px solid #0077ff; border-radius: 2px; font-size: 18px; color: #ffffff; text-decoration: none; font-weight: 600; display: inline-block;">GET STARTED</a>
                        <a
                          class="mobile-small-view"
                          href="https://www.copernica.com"
                          target="_blank"
                          style="padding: 10px 40px; border: 1px solid #0077ff; border-radius: 2px; font-size: 15px; color: #ffffff; text-decoration: none; font-weight: 600; display: inline-block;">GET STARTED</a>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP