試圖讓電子郵件簽名工作,但無法讓圖像部分坐在表格列上齊平,似乎是在底部和右側的空白/填充。下面是即時通訊使用的代碼,看起來在瀏覽器不錯,但不是電子郵件(前景)html電子郵件簽名填充/對齊問題
<!doctype html>
\t \t \t \t <html>
\t \t \t \t <head>
\t \t \t \t <meta charset="utf-8">
\t \t \t \t <title>J.Clarke</title>
\t \t \t \t <style>
\t \t \t \t .btmStrip{
\t \t \t \t \t /*border:1px solid red;
\t \t \t \t \t padding-bottom:50px;
\t \t \t \t background: linear-gradient(bottom, #000 70%, #fff 70%);
\t \t \t \t background: -o-linear-gradient(bottom, #000 70%, #fff 70%);
\t \t \t \t background: -moz-linear-gradient(bottom, #000 70%, #fff 70%);
\t \t \t \t background: -webkit-linear-gradient(bottom, #000 70%, #fff 70%);
\t \t \t \t background: -ms-linear-gradient(bottom, #000 70%, #fff 70%); */
\t \t \t \t }
\t \t \t \t </style>
\t \t \t \t </head>
\t \t \t \t <body>
\t \t \t \t <table width="700" border="0" cellspacing="0" cellpadding="0" style="border-spacing:0;">
\t \t \t \t <tbody>
\t \t \t \t \t <tr>
\t \t \t \t \t <td width="118"> </td>
\t \t \t \t \t <td width="62"> </td>
\t \t \t \t \t <td colspan="3" rowspan="2" style="text-align:right;padding-right:5%;"><a href="http://name.co.za/" target="_blank"><img src="logo1.jpg" width="131" height="90" alt="co name"/></a></td>
\t \t \t \t \t </tr>
\t \t \t \t \t <tr>
\t \t \t \t \t <td> </td>
\t \t \t \t \t <td> </td>
\t \t \t \t \t </tr>
\t \t \t \t \t <tr>
\t \t \t \t \t <td> </td>
\t \t \t \t \t <td> </td>
\t \t \t \t \t <td colspan="3"><span style="vertical-align:text-top; font-size:14px;font-family:'Montserrat Ultra Light';">Warm Regards,</span></td>
\t \t \t \t \t </tr>
\t \t \t \t \t <tr>
\t \t \t \t \t <td></td>
\t \t \t \t \t <td></td>
\t \t \t \t \t </tr>
\t \t \t \t \t <tr>
\t \t \t \t \t <td colspan="4"></td>
\t \t \t \t \t </tr>
\t \t \t \t \t <tr>
\t \t \t \t \t <td width="118" style="height:0px; background-color: #fff;line-height:0px"></td>
\t \t \t \t \t <td width="62" style="height:0px; background-color: #fff;line-height:0px"></td>
\t \t \t \t \t </tr>
\t \t \t \t \t <tr style="background-color:#fff;">
\t \t \t \t \t <td colspan="2" rowspan="2" style="text-align:left;"></td>
\t \t \t \t \t <td colspan="2" style="text-align:left;"></td>
\t \t \t \t \t </tr>
\t \t \t \t \t <tr style="background-color:#000;">
\t \t \t \t \t <td colspan="2" style="text-align:left;"></td>
\t \t \t \t \t </tr>
\t \t \t \t \t <tr style="background-color:#000;">
\t \t \t \t \t <td colspan="4" style="text-align:center;"></td>
\t \t \t \t \t </tr>
\t \t \t \t \t <tr style="background-color:#fff;">
\t \t \t \t \t <td colspan="2" rowspan="17" align="right" valign="bottom"><img style="display:block" src="http://overit.co.za/tst.jpg" width="180" height="175" alt=""/></td>
\t \t \t \t \t <td colspan="2" style="text-align:right;">
\t \t \t \t \t \t </td>
\t \t \t \t \t </tr>
\t \t \t \t \t <tr style="background-color:#fff;">
\t \t \t \t \t <td colspan="2" style="text-align:left;"></td>
\t \t \t \t \t </tr>
\t \t \t \t \t <tr style="background-color:#fff;">
\t \t \t \t \t <td colspan="2" style="text-align:right;"> </td>
\t \t \t \t \t </tr>
\t \t \t \t \t <tr style="background-color:#000;">
\t \t \t \t \t <td colspan="2" style="text-align:left;">
\t \t \t \t \t
\t \t \t \t \t </td>
\t \t \t \t \t </tr>
\t \t \t \t \t <tr style="background-color:#000;">
\t \t \t \t \t <td colspan="2" style="text-align:right;"></td>
\t \t \t \t \t </tr>
\t \t \t \t \t <tr style="background-color:#000;">
\t \t \t \t \t <td colspan="2" style="text-align:right;"></td>
\t \t \t \t \t </tr>
\t \t \t \t \t <tr style="background-color:#fff;">
\t \t \t \t \t <td colspan="2" style="text-align:center;padding:0px 5px;"><hr style="border-bottom: 1px solid #000; background-color:#000;margin-left: 0px;"/></td>
\t \t \t \t \t </tr>
\t \t \t \t \t <tr style="background-color:#000;">
\t \t \t \t \t <td colspan="2" style="text-align:left;"></td>
\t \t \t \t \t </tr>
\t \t \t \t \t <tr style="background-color:#fff;">
\t \t \t \t \t <td colspan="2" style="text-align:center;padding-bottom:2px;"><span style="font-family:'Montserrat Ultra Light'; vertical-align:text-top; font-size:16px;"><span style="font-family:'Montserrat SemiBold';">Name Name</span> | <a style="text-decoration:none;color:#282828;" href="mailto:[email protected]" target="_blank">[email protected]</a> | <a style="text-decoration:none;color:#282828;" href="http://name.co.za/" target="_blank">www.name.co.za</a> </span></td>
\t \t \t \t \t </tr>
\t \t \t \t \t <tr style="background-color:#000;">
\t \t \t \t \t <td colspan="2" style="text-align:left;" height="11px"></td>
\t \t \t \t \t </tr>
\t \t \t \t \t <tr style="background-color:#000;">
\t \t \t \t \t <td colspan="2" style="text-align:center;"><span style="font-family:'Montserrat Ultra Light'; color:#fff;font-size:10px;"><span style="font-family:'Montserrat SemiBold';">name</span> | 031 031031031 | <a style="text-decoration:none;color:#fff;" href="mailto:[email protected]" target="_blank">[email protected]</a> | <span style="font-family:'Montserrat SemiBold';">name</span> | 031 031031031 | <a style="text-decoration:none;color:#fff;" href="mailto:[email protected]" target="_blank">[email protected]</a></span></td>
\t \t \t \t \t </tr>
\t \t \t \t \t <tr style="background-color:#000;">
\t \t \t \t \t <td colspan="2" style="text-align:left;"></td>
\t \t \t \t \t </tr>
\t \t \t \t \t <tr style="background-color:#000;">
\t \t \t \t \t <td colspan="2" style="text-align:right;" height="25px"> </td>
\t \t \t \t \t </tr>
\t \t \t \t <!-- <tr style="background-color:#000;">
\t \t \t \t \t <td colspan="2" style="text-align:right;" height="28.75px"> </td>
\t \t \t \t \t </tr>-->
\t \t \t \t <!-- <tr style="background-color:#000;">
\t \t \t \t \t <td colspan="2" style="text-align:right;" height="28.75px"> </td>
\t \t \t \t \t </tr>-->
\t \t \t \t \t <tr style="background-color:#000;">
\t \t \t \t \t <td width="415" height="18.75px" style="text-align:right;"> </td>
\t \t \t \t \t <td width="105" style="text-align:right;" height="18.75px"> </td>
\t \t \t \t \t </tr>
\t \t \t \t \t <tr style="background-color:#000;">
\t \t \t \t \t <td style="text-align:right; padding-bottom:10px;" height="30px"><span style="color:#fff; font-family:'Montserrat Ultra Light';"><span style="color:#d7ab64; font-family:'Montserrat Regular'; font-size:80%;"><a style="text-decoration:none;color:#d7ab64;" href="http://satincandy.co.za/" target="_blank">SHOP NOW</a></span> | <a style="text-decoration:none;color:#fff;font-size:80%;" href="http://satincandy.co.za/" target="_blank">SIGN UP TO OUR NEWSLETTER</a></span></td>
\t \t \t \t \t <td width="105" style="text-align:left;padding-right:15px;padding-bottom:10px;" height="30px"><a target="_blank" href="https://www.facebook.com"><img data-class="external" src="instagram.png" align="right"></a>
\t \t \t \t \t \t <a target="_blank" href="https://www.facebook.com/"><img data-class="external" src="pintrest.png" align="right"></a>
\t \t \t \t \t \t <a target="_blank" href="https://www.facebook.com/"><img data-class="external" src="facebook.png" align="right"></a>
\t \t \t \t \t <a target="_blank" href="https://www.facebook.com/"><img data-class="external" src="twitter.png" align="right"></a></td>
\t \t \t \t \t </tr>
\t \t \t \t </tbody>
\t \t \t \t </table>
\t \t \t \t </body>
\t \t \t \t </html>
你能否提供一個在Outlook中看起來像什麼的屏幕截圖。 – Zze
@Zze謝謝,這是一個截圖:https://postimg.org/image/3llyqt7jl/這是它應該看起來如何:https://postimg.org/image/vezxjrq47/ – RustyDP