在HTML表格图片上获取利润

时间:2018-10-05 13:53:09

标签: html html-table html-email

我不确定此电子邮件爆炸的额外空间来自何处。当它是一幅连续的图像时,这确实是一个问题,但是当它是多幅图像时,就会把东西丢掉 enter image description here

我已经尝试了一段时间尝试删除它,但无法弄清

    <html>
    	<head></head>
    	<body>
    		<table border="0" cellspacing="0" cellpadding="0"   style="table-layout: fixed; margin: 0px auto; ">
    			<tr>
    				<td align="center" colspan="5" valign="center">
    					<a href="https://www.lasvegasnow.com/open-enrollment-forum"><img src="https://media.lasvegasnow.com/nxsglobal/lasvegasnow/photo/2018/10/05/header_1538749577392_57983134_ver1.0.jpg" style = "display: block; width: 600px;"></a>
    				</td>
    			</tr>
    			<tr>
    				<td align="center" colspan="5">
    					<img src="https://media.lasvegasnow.com/nxsglobal/lasvegasnow/photo/2018/10/05/fbl_1538747453659_57975885_ver1.0.jpg" style = "display: block; width: 600px;">
    				</td>
    			</tr>
    			<tr>
    				<td align="center" colspan="1" cellspacing="0" cellpadding="0">
    					<img src="https://media.lasvegasnow.com/nxsglobal/lasvegasnow/photo/2018/10/05/3_1_1538747262360_57975876_ver1.0.jpg" style = "display: block; width: 90px; height: 34px;">
    				</td>
    				<td align="center" colspan="1">
    					<img src="https://media.lasvegasnow.com/nxsglobal/lasvegasnow/photo/2018/10/05/btn1_1538747262364_57975877_ver1.0.jpg" style = "display: block; width: 153px; height: 34px;">
    				</td>
    				<td align="center" colspan="1">
    					<img src="https://media.lasvegasnow.com/nxsglobal/lasvegasnow/photo/2018/10/05/3_2_1538747263511_57975878_ver1.0.jpg" style = "display: block; width: 109px; height: 34px;">
    				</td>
    				<td align="center" colspan="1">
    					<img src="https://media.lasvegasnow.com/nxsglobal/lasvegasnow/photo/2018/10/05/btn2_1538747263651_57975879_ver1.0.jpg" style = "display: block; width: 155px; height: 34px;">
    				</td>
    				<td align="center" colspan="1">
    					<img src="https://media.lasvegasnow.com/nxsglobal/lasvegasnow/photo/2018/10/05/3_3_1538747264518_57975880_ver1.0.jpg" style = "display: block; width: 93px; height: 34px;">
    				</td>
    			</tr>
    			<tr>
    				<td align="center" colspan="4">
    					<img src="email_blast_04.jpg" style = "display: block; width: 600px;">
    				</td>
    			</tr>
    			<tr>
    				<td align="center" colspan="4">
    					<img src="email_blast_05.jpg" style = "display: block; width: 600px;">
    				</td>
    			</tr>
    			<tr>
    				<td align="center" colspan="4">
    					<img src="email_blast_06.jpg" style = "display: block; width: 600px;">
    				</td>
    			</tr>
    		</table>
    	</body>
    </html>

1 个答案:

答案 0 :(得分:0)

 <head></head>
<body>
    <table border="0" cellspacing="0" cellpadding="0"   style="table-layout: fixed; margin: 0px auto; ">
        <tr>
            <td align="center" colspan="5" valign="center">
                <a href="https://www.lasvegasnow.com/open-enrollment-forum"><img src="header.jpg" style = "display: block; width: 600px;"></a>
            </td>
        </tr>
        <tr>
            <td align="center" colspan="5">
                <img src="https://media.lasvegasnow.com/nxsglobal/lasvegasnow/photo/2018/10/05/fbl_1538747453659_57975885_ver1.0.jpg" style = "display: block; width: 600px;">
            </td>
        </tr>
        <tr>
            <td align="center" colspan="1" cellspacing="0" cellpadding="0">
                <img src="https://media.lasvegasnow.com/nxsglobal/lasvegasnow/photo/2018/10/05/3_1_1538747262360_57975876_ver1.0.jpg" style = "display: block; width: 90px; height: 34px;">
            </td>
            <td align="center" colspan="1">
                <img src="https://media.lasvegasnow.com/nxsglobal/lasvegasnow/photo/2018/10/05/btn1_1538747262364_57975877_ver1.0.jpg" style = "display: block; width: 153px; height: 34px;">
            </td>
            <td align="center" colspan="1">
                <img src="https://media.lasvegasnow.com/nxsglobal/lasvegasnow/photo/2018/10/05/3_2_1538747263511_57975878_ver1.0.jpg" style = " width: 51px; height: 34px;">
            </td>
            <td align="center" colspan="1">
                <img src="https://media.lasvegasnow.com/nxsglobal/lasvegasnow/photo/2018/10/05/btn2_1538747263651_57975879_ver1.0.jpg" style = "display: block; width: 155px; height: 34px;margin-right: 23px;">
            </td>
            <td align="center" colspan="1">
                <img src="https://media.lasvegasnow.com/nxsglobal/lasvegasnow/photo/2018/10/05/3_3_1538747264518_57975880_ver1.0.jpg" style = "display: block; width: 93px; height: 34px;">
            </td>
        </tr>
        <tr>
            <td align="center" colspan="4">
                <img src="email_blast_04.jpg" style = "display: block; width: 600px;">
            </td>
        </tr>
        <tr>
            <td align="center" colspan="4">
                <img src="email_blast_05.jpg" style = "display: block; width: 600px;">
            </td>
        </tr>
        <tr>
            <td align="center" colspan="4">
                <img src="email_blast_06.jpg" style = "display: block; width: 600px;">
            </td>
        </tr>
    </table>
</body>