0
我知道Bulletproof Email Backgrounds黑客,但是因爲這會在背景中放置一個尺寸爲VML的矩形,然後將內容放入其中,所以不會調整大小。在Outlook中自動調整VML背景圖片的尺寸
或者換句話說,表格單元格中的文本被裁剪爲VML矩形的高度。
我試過所有我能想到的東西,但是似乎無論如何都不允許VML矩形的內容來調整它的大小。
是否有任何其他方式獲取Outlook中的背景圖像?
我知道Bulletproof Email Backgrounds黑客,但是因爲這會在背景中放置一個尺寸爲VML的矩形,然後將內容放入其中,所以不會調整大小。在Outlook中自動調整VML背景圖片的尺寸
或者換句話說,表格單元格中的文本被裁剪爲VML矩形的高度。
我試過所有我能想到的東西,但是似乎無論如何都不允許VML矩形的內容來調整它的大小。
是否有任何其他方式獲取Outlook中的背景圖像?
除了VML之外,在Outlook中獲取背景圖像的唯一方法是在body標籤中。
這裏是技術(在所有大客戶的作品):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
</head>
<body style="margin: 0px; padding: 0px; background-image: url('http://lorempixel.com/100/100/'); background-color: #252525; background-repeat: repeat-y no-repeat; background-position: top left;" bgcolor="#252525">
<!-- BODY FAKE PANEL -->
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" background="http://lorempixel.com/100/100/">
<tr>
<td valign="top">
<!-- CENTER FLOAT -->
<table width="600" height="800" border="0" valign="top" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td align="center">
Center panel
</td>
</tr>
</table>
<!-- /CENTER FLOAT -->
</td>
</tr>
</table>
<!-- /BODY FAKE PANEL -->
</body>
</html>