【发布时间】:2014-03-11 15:04:59
【问题描述】:
我正在使用所有常用的技巧:img 上的border="0",img 上的style:display:block ... 似乎没有任何效果。我不会在 photoshop 中对图像进行切片并使用“另存为网络”导出,另存为“HTML 和图像”。每次我使用这种切片方法时,都会发生这种情况。 PS 功能编写基于表格的标记,非常适合电子邮件(因为您不能使用 div 并期望它们在电子邮件模板中工作)。
有时我会使用不同的区域对所有内容进行重新切片,它可以工作,但工作量很大。我想在我第一次切开所有东西的时候就做好!是的,我已经阅读了关于前景中水平空间的所有主题,但似乎没有任何效果。
这是标记(已删除图像位置):
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- Save for Web Slices -->
<table id="Table_01" width="600" height="1093" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="8">
<img border="0" style="display: block;" src="" width="600" height="98" alt=""></td>
</tr>
<tr>
<td colspan="8">
<img border="0" style="display: block;" src="" width="600" height="119" alt=""></td>
</tr>
<tr>
<td colspan="2">
<img border="0" style="display: block;" src="" width="182" height="442" alt=""></td>
<td colspan="6">
<img border="0" style="display: block;" src="" width="418" height="442" alt=""></td>
</tr>
<tr>
<td colspan="2">
<img border="0" style="display: block;" src="" width="182" height="51" alt=""></td>
<td>
<img border="0" style="display: block;" src="" width="140" height="51" alt=""></td>
<td colspan="5">
<img border="0" style="display: block;" src="" width="278" height="51" alt=""></td>
</tr>
<tr>
<td colspan="8">
<img border="0" style="display: block;" src="" width="600" height="128" alt=""></td>
</tr>
<tr>
<td>
<img border="0" style="display: block;" src="" width="150" height="91" alt=""></td>
<td colspan="3">
<img border="0" style="display: block;" src="" width="315" height="91" alt=""></td>
<td>
<img border="0" style="display: block;" src="" width="38" height="91" alt=""></td>
<td>
<img border="0" style="display: block;" src="" width="42" height="91" alt=""></td>
<td colspan="2">
<img border="0" style="display: block;" src="" width="55" height="91" alt=""></td>
</tr>
<tr>
<td colspan="8">
<img border="0" style="display: block;" src="" width="600" height="79" alt=""></td>
</tr>
<tr>
<td colspan="7">
<img border="0" style="display: block;" src="" width="599" height="84" alt=""></td>
<td>
<img border="0" style="display: block;" src="" width="1" height="84" alt=""></td>
</tr>
<tr>
<td>
<img border="0" style="display: block;" src="" width="150" height="1" alt=""></td>
<td>
<img border="0" style="display: block;" src="" width="32" height="1" alt=""></td>
<td>
<img border="0" style="display: block;" src="" width="140" height="1" alt=""></td>
<td>
<img border="0" style="display: block;" src="" width="143" height="1" alt=""></td>
<td>
<img border="0" style="display: block;" src="" width="38" height="1" alt=""></td>
<td>
<img border="0" style="display: block;" src="" width="42" height="1" alt=""></td>
<td>
<img border="0" style="display: block;" src="" width="54" height="1" alt=""></td>
<td>
<img border="0" style="display: block;" src="" width="1" height="1" alt=""></td>
</tr>
</table>
<!-- End Save for Web Slices -->
</body>
</html>
【问题讨论】:
标签: outlook html-email