我想在一组行周围添加带边框的边框,如附件图像中所示。现在,我创建了一个灰色边框,它围绕所有行/列,并紧靠内容区域的边缘。我想使它看起来像附件中的图片,从电子邮件边缘开始填充约40px,然后是灰色边框,然后是行。
---
subject: American Eagle
---
---
layout: tinyemail
---
<br>
<wrapper class="primary-color">
<container>
<center>
<row>
<div style="padding-bottom: 30px;">
<columns small="7" large="7">
<center><img src="https://www.sailthru.com/content/uploads/2018/08/AMERICAN-EAGLE.png" style="padding-left:10%; padding-top:10px;"></center>
</columns>
<columns small="5" large="5">
<center><img src="http://www.freelogovectors.net/wp-content/uploads/2019/03/aerielogo.png" style="width:100px; "></center>
</columns>
<!-- <spacer size="500"></spacer> -->
</div>
</row>
<!-- Border is set -->
<div style="border-color: #cfcfcf; border-width:2px; border-style:solid;">
<spacer size="50"></spacer>
<row>
<columns small="12" large="12" >
<h3 class="text-center">CATHERINE, GOOD NEWS</h3>
<h1 class="text-center">PART OF YOUR ORDER IS ON ITS WAY.</h1>
<spacer size="20"></spacer>
<hr style="width:30%; margin-left:auto; margin-right:auto;">
</columns>
</row>
<row>
<columns small="6" large="6">
<p class="text-center">Order Number:</p>
</columns>
<columns small="6" large="6">
<p class="text-center">Placed On:</p>
</columns>
</row>
<row>
<columns small="6" large="6">
<u><p class="text-center" style="font-weight:bold;">58347234951</p></u>
</columns>
<columns small="6" large="6">
<p class="text-center" style="font-weight:bold;">September 25, 2018</p>
</columns>
</row>
<row>
<columns small="2" large="2">
<img style="height:50px; width:auto; padding-left:20px;" src="assets/img/truck-icon.png" alt="truck icon">
</columns>
<columns small="10" large="10">
<h5 style="padding-top:10px; font-weight:bold;">2 ITEMS SHIPPED</h5>
</columns>
</row>
<row>
<columns small="2" large="2">
<img style="height:50px; width:auto; padding-left:25px;" src="assets/img/hourglass.png" alt="hourglass icon">
</columns>
<columns small="10" large="10">
<h5 style="padding-top:10px; font-weight:bold;">1 ITEM NOT YET SHIPPED</h5>
</columns>
</row>
<row>
<columns small="2" large="2">
<img style="height:50px; width:auto; padding-left:20px;" src="assets/img/boxes.png" alt="multiple items">
</columns>
<columns small="10" large="10">
<h5 style="padding-top:10px; font-weight:bold;">MULTIPLE SHIPMENTS</h5>
<p>We want you to get your items ASAP so we broke them up in multiple shipments.</p>
</columns>
</row>
</div>
</center>
</container>
</wrapper>