These are chat archives for Anddward/L_and_W

25th
May 2016
cocowuhuiling
@cocowuhuiling
May 25 2016 01:30
9点22分打的卡
Anddward.Liao
@Anddward
May 25 2016 01:45
:smile:
cocowuhuiling
@cocowuhuiling
May 25 2016 07:09
之前写了一个静态页面给陈志国做数据集成
然后他这个静态页面是通过发邮件的形式将页面发给客户邮箱上,但是在用户的邮件客户端会出现布局乱掉的情况,后来就全手动写成了css为行内形式。可是写完之后才发现,有一个premailer的工具可以将外部的css转换成inline css
 <!-- 奖品为车智汇盒子和优惠券时开始(请勿删除) -->
  <table style="width: 780px;height: 1266px; margin: 0 auto;background: url(images/mail_lucky_bg_139.png) left top no-repeat;">
    <tr style="height: 794px">
    </tr>
    <tr style="display: block;margin-bottom: 6px;">
      <td style="padding-left: 306px;display: block;"><img src="images/coupon_card_139.png"></td>
    </tr>
    <tr style="display: block">
      <td style="display: block;margin-bottom:16px;padding: 0 190px;text-align: center;color: #ae6112;
    font-size: 20px;">恭喜,您抽中了1580购买车智汇盒子优惠券, 快去去买台车智汇自己用或送朋友!</td>
    </tr>
    <tr style="display: block;margin-bottom: 19px;">
      <td style="display: block;font-size: 14px;color: #ae6112;text-align: center;">你的F码是:#123,30分钟内付款有效</td>
    </tr>
    <tr style="display: block;">
      <td style="display: block;width: 100%;height:33px;background: url(images/buy_btn_139.png) center center no-repeat;"></td>
    </tr>
    <tr style="display: block;margin: 20px 0 23px;">
      <td style="display: block;height: 29px;background: url(images/rights_title_139.png) center center no-repeat;"></td>
    </tr>
    <tr style="display: block;text-align: center;">
      <td style="display: inline-block;margin-right:24px;width:59px;height: 74px; background: url(images/oil_icon_THW.png) left center no-repeat;"></td>
      <td style="display: inline-block;margin-right:24px;width:59px;height: 74px; background: url(images/luntaibao_icon_THW.png) left center no-repeat;"></td>
      <td style="display: inline-block;margin-right:24px;width:59px;height: 74px; background: url(images/wraing_icon_THW.png) left center no-repeat;"></td>
      <td style="display: inline-block;margin-right:24px;width:59px;height: 74px; background: url(images/chezhihui_box_icon_THW.png) left center no-repeat;"></td>
      <td style="display: inline-block;margin-right:24px;width:59px;height: 74px; background: url(images/fangdao_icon_THW.png) left center no-repeat;"></td>
      <td style="display: inline-block;width:59px;height: 74px; background: url(images/more_service_icon_THW.png) left center no-repeat;"></td>
    </tr>
  </table>
  <!-- 奖品为车智汇盒子和优惠券时结束(请勿删除) —>
Anddward.Liao
@Anddward
May 25 2016 07:14
这样麻烦呐
cocowuhuiling
@cocowuhuiling
May 25 2016 07:37
是啊,而且布局的时候最好使用table