html5 - email Template design -


i working email template design. issue if see design there element "p" , there vertical black line above , below "p", issue line doesn't join other "p" line. content in white background part dynamic, can't fix height.

my question how can overcome issue.

please me. in advance.

<table width="600" cellspacing="0" cellpadding="0" border="0" align="center" class="container" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;"> <tbody> <tr> <td align="center" style="color:#fff;"> <h1 style="background-color:#2c3840; padding:12px; font-family:arial, helvetica, sans-serif; text-transform:uppercase; font-size:22px;margin:0px; font-weight:normal;">september 23</h1> </td> </tr> </tbody> </table> <!--time--> <table width="600" cellspacing="0" cellpadding="0" colspan="0" border="0" align="center" class="container" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt; background-color:#e7ebed;"> <tbody> <tr> <td align="center" style="color:#fff;"> <table width="600" cellspacing="0" cellpadding="0" border="0" colspan="0" align="left" class="container" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;"> <tbody> <!--row1--> <tr> <td align="center" width="20%" style="color:#000; font-family:arial, helvetica, sans-serif; text-align:left; padding:25px 10px;"> <p style="color:#666;margin:0px;padding-left: 20px;">08:00</p> </td> <td width="10%"> <span style="width:3px;  background-color:#2c3840; margin-left: 18px;   margin-top: -48px;">&nbsp;</span> <p style="background-color:#ef7247;width:35px;margin:0px; height:35px; line-height: 35px;text-align: center;border:3px solid #2c3840; border-radius:50%;">p</p> <span style="width:3px; background-color:#2c3840; margin-left: 18px;   margin-top: -48px;">&nbsp;</span> </td> <td align="center" width="60%" style="color:#000; font-family:arial, helvetica, sans-serif; padding-left:10px; padding-right:10px; text-align:left;"> <table cellpadding="0" cellspacing="0" border="0" style="margin-bottom: 4%;"> <tbody> <tr> <td><img src="http://alialamshahi.com/themes/eventify/images/tri_left.png"></td> <td><h4 style="background-color:#fff;border-radius:10px; padding:15px; color:#2c3840;margin:0px;"> pre-party <strong style="color:#999;">sponsored sphere labs sponsored sphere labs sponsored sphere labssponsored sphere labssponsored sphere labssponsored sphere labs</strong>  </h4></td> </tr> </tbody> </table> </td> </tr> <!--row1--> <tr> <td align="center" width="20%" style="color:#000; font-family:arial, helvetica, sans-serif; text-align:left; padding:25px 10px;"> <p style="color:#666;margin:0px;padding-left: 20px;">08:00</p> </td> <td width="10%"> <span style="width:3px;  background-color:#2c3840; margin-left: 18px;   margin-top: -48px;">&nbsp;</span> <p style="background-color:#ef7247;width:35px;margin:0px; height:35px; line-height: 35px;text-align: center;border:3px solid #2c3840; border-radius:50%;">p</p> <span style="width:3px; background-color:#2c3840; margin-left: 18px;   margin-top: -48px;">&nbsp;</span> </td> <td align="center" width="60%" style="color:#000; font-family:arial, helvetica, sans-serif; padding-left:10px; padding-right:10px; text-align:left;"> <table cellpadding="0" cellspacing="0" border="0"> <tbody> <tr> <td><img src="http://alialamshahi.com/themes/eventify/images/tri_left.png"></td> <td><h4 style="background-color:#fff;border-radius:10px; padding:15px; color:#2c3840;margin:0px;"> pre-party <strong style="color:#999;">sponsored sphere labs sponsored sphere labs sponsored sphere labssponsored sphere labs sponsored sphere labs sponsored sphere labssponsored sphere labssponsored sphere labssponsored sphere labssponsored sphere labs</strong>  </h4></td> </tr> </tbody> </table> </td> </tr>            </tbody> </table>     <!--time--> <table width="600" cellspacing="0" cellpadding="0" border="0" align="center" class="container" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;"> <tbody> <tr> <td align="center" style="color:#fff;"> <h1 style="background-color:#2c3840; padding:12px; font-family:arial, helvetica, sans-serif; text-transform:uppercase; font-size:22px;margin:0px; margin-bottom:2px; font-weight:normal;">september 24</h1> </td> </tr> </tbody> </table> <table width="600" cellspacing="0" cellpadding="0" border="0" align="center" class="container" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;"> <tbody> <tr> <td align="center" style="color:#fff;"> <h1 style="background-color:#2c3840; padding:12px; font-family:arial, helvetica, sans-serif; text-transform:uppercase; font-size:22px;margin:0px; font-weight:normal;">september 25</h1> </td> </tr> </tbody> </table> 

set properties style top , bottom borders. u can use style below...hope want.

.classname {     border-top: 1px solid #000;     border-bottom: 1px solid #000; } 

Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -