1

I have an html email .oft (Outlook File Template) created in Outlook 2010 with a table layout width set to 600px. This ecard template is distributed to others at the company who might want to add a few lines of texts and signature to the bottom after the table. However all the added text appears on the top right next to the table. How can I either block any content on the right of the table or set the width of the email to be only 600px so any new additions will appear correctly at the bottom after the table? I know that floats and clear css don't work reliably across in html emails. Thanks, Attila

4

1 に答える 1

1

最善の策は、幅 100% のテーブルを作成することです。そのテーブル内に、幅が 600 のセルと幅が 'auto' のセルを 2 つ作成します。これは、電子メール ウィンドウの残りの幅全体に広がります。

これは理想的な状況ではありませんが、おっしゃったように、2007 はおろか、MS Outlook 2010 で達成できることには非常に厳しい制限があります。

このようなもの:

<table><tr>
<td width="600">Enter details here</td>
<td> &nbsp; (space character so no client disregards this cell) </td>
</tr></table>

最後のセルの幅を実験する必要があるかもしれません。100% にするか、右側のすべての余分なスペースを強制的に占有するようにすることもできますが、それはコードと電子メールに帰着します。その組織に最適なもの。

それがうまくいかない場合は、最初のテーブル内にネストされたテーブルを検討してください...

<table width="100"><tr>
   <td width="100%">
     <table width="600"><tr>
       <td width="600">Enter details here</td>
     </tr></table>
   </td>
   <td>&nbsp;(space character so no client disregards this cell) </td>
</tr></table>

ガイドとして - 互換性についてはキャンペーン モニターのリファレンスを使用します: http://www.campaignmonitor.com/css/ - そのページで XLS ファイルをダウンロードします。

幸運を。

于 2012-06-05T23:13:51.033 に答える