响应表的邮件程序中不支持data-label =“”

时间:2018-06-21 09:35:15

标签: html-table gmail html-email

我想要电子邮件的响应表格式,以便可以在移动视图上看到正确的结构。这是我的代码,我使用data-label="name"的{​​{1}}进行此操作,但这<td>在邮件中发送hmtl结构时删除。 有人在emailer中的响应表上有任何解决方案吗?

data-label="name"

 <table class="smarttable" width="100%" cellpadding="0" cellspacing="0" style="min-width:100%;">
<thead>
  <tr>
    <th scope="col" style="padding:5px; font-family: Arial,sans-serif; font-size: 16px; line-height:20px;line-height:30px">Name</th>
    <th scope="col" style="padding:5px; font-family: Arial,sans-serif; font-size: 16px; line-height:20px;line-height:30px">Company</th>
    <th scope="col" style="padding:5px; font-family: Arial,sans-serif; font-size: 16px; line-height:20px;line-height:30px">City</th>
  </tr>
</thead>
<tbody>
  <tr>
    <td data-label="Name" valign="top" style="padding:5px; font-family: Arial,sans-serif; font-size: 16px; line-height:20px;">John Doe</td>

    <td data-label="Name" valign="top" style="padding:5px; font-family: Arial,sans-serif; font-size: 16px; line-height:20px;">XYZ Ltd.</td>
    <td data-label="Name" valign="top"  style="padding:5px; font-family: Arial,sans-serif; font-size: 16px; line-height:20px;">Chicago</td>
  </tr>
       ...
  <tr>
    <td data-label="Name" valign="top"  style="padding:5px; font-family: Arial,sans-serif; font-size: 16px; line-height:20px;">John Doe, jr</td>
    <td data-label="Name" valign="top"  style="padding:5px; font-family: Arial,sans-serif; font-size: 16px; line-height:20px;">freelancer</td>
    <td data-label="Name" valign="top"  style="padding:5px; font-family: Arial,sans-serif; font-size: 16px; line-height:20px;">Chicago</td>
  </tr>
</tbody>

0 个答案:

没有答案