我正在发送一封电子邮件,其中包含html表中的信息,然后是其他信息。一切都可以查看数据,实际上,它在Outlook中的预览窗格中看起来不错,但是一旦展开电子邮件,则html表格后面的信息实际上位于表格的右侧,而不是下方。我从表中发布了html。我不是html方面的专家。我基本上从2封不同的电子邮件中获取了源,并尝试将其合并。
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"><br><body>
<table align="left" border="0" cellspacing="0" cellpadding="0" style="word-break: break-all; width:490.25pt;border-collapse:collapse;margin-left: 0px;margin-bottom: 30px;">
<tbody>
<tr style="height:14.5pt;">
<td nowrap="" style="background: rgb(255, 255, 255); width:125.4pt;height:14.5pt;padding:0 5.4pt;border:1pt solid windowtext;">
<p align="center" style="font-size: 12pt; font-family: Calibri, sans-serif, serif, EmojiFont; text-align: center; margin: 0px;">
<b>
<span style="color:black;">Flow</span>
</b>
</p>
</td>
<td valign="bottom" nowrap="" style="background: rgb(255, 255, 255); width:69.35pt;height:14.5pt;padding:0 5.4pt;border-width:1pt;border-style:solid solid solid none;border-color:windowtext;">
<p align="center" style="font-size: 12pt; font-family: Calibri, sans-serif, serif, EmojiFont; text-align: center; margin: 0px;">
<b>
<span style="color:black;">Files Recvd</span>
</b>
</p>
</td>
<td valign="bottom" nowrap="" style="background: rgb(255, 255, 255); width:65.6pt;height:14.5pt;padding:0 5.4pt;border-width:1pt;border-style:solid solid solid none;border-color:windowtext;">
<p align="center" style="font-size: 12pt; font-family: Calibri, sans-serif, serif, EmojiFont; text-align: center; margin: 0px;">
<b>
<span style="color:black;">Last Insert</span>
</b>
</p>
</td>
<td valign="bottom" nowrap="" style="background: rgb(255, 255, 255); width:65.6pt;height:14.5pt;padding:0 5.4pt;border-width:1pt;border-style:solid solid solid none;border-color:windowtext;">
<p align="center" style="font-size: 12pt; font-family: Calibri, sans-serif, serif, EmojiFont; text-align: center; margin: 0px;">
<b>
<span style="color:black;">Run Date</span>
</b>
</p>
</td>
<td valign="bottom" nowrap="" style="background: rgb(255, 255, 255); width:190.3pt;height:14.5pt;padding:0 5.4pt;border-width:1pt;border-style:solid solid solid none;border-color:windowtext;">
<p align="center" style="font-size: 12pt; font-family: Calibri, sans-serif, serif, EmojiFont; text-align: center; margin: 0px;">
<b>
<span style="color:black;">Status</span>
</b>
</p>
</td>
</tr>
<tr style="height:14.5pt;">
<td style="white-space: nowrap; width:125.4pt;height:14.5pt;padding:0 5.4pt;border-width:1pt;border-style:none solid solid solid;border-color:windowtext;">
<p style="font-size: 11pt; font-family: Calibri, sans-serif, serif, EmojiFont; margin: 0px;">
<span style="white-space: nowrap; color:black;">DMD </span>
</p>
</td>
<td valign="bottom" nowrap="" style="width:69.35pt;height:14.5pt;padding:0 5.4pt;border-style:none solid solid none;border-right-width:1pt;border-bottom-width:1pt;border-right-color:windowtext;border-bottom-color:windowtext;">
<p align="center" style="font-size: 11pt; font-family: Calibri, sans-serif, serif, EmojiFont; text-align: center; margin: 0px;">
<span style="color:black;">Yes</span>
</p>
</td>
<td valign="bottom" nowrap="" style="width:65.6pt;height:14.5pt;padding:0 5.4pt;border-style:none solid solid none;border-right-width:1pt;border-bottom-width:1pt;border-right-color:windowtext;border-bottom-color:windowtext;">
<p align="center" style="font-size: 11pt; font-family: Calibri, sans-serif, serif, EmojiFont; text-align: center; margin: 0px;">
<span style="color:black;">20190301</span>
</p>
</td>
<td valign="bottom" nowrap="" style="width:65.6pt;height:14.5pt;padding:0 5.4pt;border-style:none solid solid none;border-right-width:1pt;border-bottom-width:1pt;border-right-color:windowtext;border-bottom-color:windowtext;">
<p align="center" style="font-size: 11pt; font-family: Calibri, sans-serif, serif, EmojiFont; text-align: center; margin: 0px;">
<span style="color:black;">20190228</span>
</p>
</td>
<td valign="bottom" nowrap="" style="width:190.3pt;height:14.5pt;padding:0 5.4pt;border-style:none solid solid none;border-right-width:1pt;border-bottom-width:1pt;border-right-color:windowtext;border-bottom-color:windowtext;">
<p style="font-size: 11pt; font-family: Calibri, sans-serif, serif, EmojiFont; margin: 0px;">
<span style="color:red;">Incomplete Current Day Minus 4</span>
</p>
</td>
</tr>
<tr style="height:14.5pt;">
<td style="white-space: nowrap; width:125.4pt;height:14.5pt;padding:0 5.4pt;border-width:1pt;border-style:none solid solid solid;border-color:windowtext;">
<p style="font-size: 11pt; font-family: Calibri, sans-serif, serif, EmojiFont; margin: 0px;">
<span style="white-space: nowrap; color:black;">COMSCORE NETWORK </span>
</p>
</td>
<td valign="bottom" nowrap="" style="width:69.35pt;height:14.5pt;padding:0 5.4pt;border-style:none solid solid none;border-right-width:1pt;border-bottom-width:1pt;border-right-color:windowtext;border-bottom-color:windowtext;">
<p align="center" style="font-size: 11pt; font-family: Calibri, sans-serif, serif, EmojiFont; text-align: center; margin: 0px;">
<span style="color:black;">Yes</span>
</p>
</td>
<td valign="bottom" nowrap="" style="width:65.6pt;height:14.5pt;padding:0 5.4pt;border-style:none solid solid none;border-right-width:1pt;border-bottom-width:1pt;border-right-color:windowtext;border-bottom-color:windowtext;">
<p align="center" style="font-size: 11pt; font-family: Calibri, sans-serif, serif, EmojiFont; text-align: center; margin: 0px;">
<span style="color:black;">20190301</span>
</p>
</td>
<td valign="bottom" nowrap="" style="width:65.6pt;height:14.5pt;padding:0 5.4pt;border-style:none solid solid none;border-right-width:1pt;border-bottom-width:1pt;border-right-color:windowtext;border-bottom-color:windowtext;">
<p align="center" style="font-size: 11pt; font-family: Calibri, sans-serif, serif, EmojiFont; text-align: center; margin: 0px;">
<span style="color:black;">20190226</span>
</p>
</td>
<td valign="bottom" nowrap="" style="width:190.3pt;height:14.5pt;padding:0 5.4pt;border-style:none solid solid none;border-right-width:1pt;border-bottom-width:1pt;border-right-color:windowtext;border-bottom-color:windowtext;">
<p style="font-size: 11pt; font-family: Calibri, sans-serif, serif, EmojiFont; margin: 0px;">
<span style="color:red;">Incomplete Current Day Minus 6</span>
</p>
</td>
</tr>
<tr style="height:14.5pt;">
<td style="white-space: nowrap; width:125.4pt;height:14.5pt;padding:0 5.4pt;border-width:1pt;border-style:none solid solid solid;border-color:windowtext;">
<p style="font-size: 11pt; font-family: Calibri, sans-serif, serif, EmojiFont; margin: 0px;">
<span style="white-space: nowrap; color:black;">COMSCORE HOURLY </span>
</p>
</td>
<td valign="bottom" nowrap="" style="width:69.35pt;height:14.5pt;padding:0 5.4pt;border-style:none solid solid none;border-right-width:1pt;border-bottom-width:1pt;border-right-color:windowtext;border-bottom-color:windowtext;">
<p align="center" style="font-size: 11pt; font-family: Calibri, sans-serif, serif, EmojiFont; text-align: center; margin: 0px;">
<span style="color:black;">Yes</span>
</p>
</td>
<td valign="bottom" nowrap="" style="width:65.6pt;height:14.5pt;padding:0 5.4pt;border-style:none solid solid none;border-right-width:1pt;border-bottom-width:1pt;border-right-color:windowtext;border-bottom-color:windowtext;">
<p align="center" style="font-size: 11pt; font-family: Calibri, sans-serif, serif, EmojiFont; text-align: center; margin: 0px;">
<span style="color:black;">20190301</span>
</p>
</td>
<td valign="bottom" nowrap="" style="width:65.6pt;height:14.5pt;padding:0 5.4pt;border-style:none solid solid none;border-right-width:1pt;border-bottom-width:1pt;border-right-color:windowtext;border-bottom-color:windowtext;">
<p align="center" style="font-size: 11pt; font-family: Calibri, sans-serif, serif, EmojiFont; text-align: center; margin: 0px;">
<span style="color:black;">20190226</span>
</p>
</td>
<td valign="bottom" nowrap="" style="width:190.3pt;height:14.5pt;padding:0 5.4pt;border-style:none solid solid none;border-right-width:1pt;border-bottom-width:1pt;border-right-color:windowtext;border-bottom-color:windowtext;">
<p style="font-size: 11pt; font-family: Calibri, sans-serif, serif, EmojiFont; margin: 0px;">
<span style="color:red;">Incomplete Current Day Minus 6</span>
</p>
</td>
</tr></tbody></table>
这是表格的结尾。这是我试图将表与其余信息分开的地方,但是很遗憾,我没有对此进行正确编码。其余信息从表格右侧开始,而不是表格下方。
<p class="MsoNormal" html=""
xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-
com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml"
xmlns="http://www.w3.org/TR/REC-html40"><head><meta name="Generator"
content="Microsoft Word 15 (filtered medium)"><style><!--/* Font
Definitions
*/`
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
<o:p> </o:p></span></b></p><br><p class="MsoNormal"><b><span lang="EN-GB">DMD<o:p></o:p></span></b></p>
<p style="color:green" class="MsoNormal"><span lang="EN-GB">
. <strong>File Status => Processed Successfully</strong> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">
. File Run Date => 20190301 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">
. Date On File => 20190228210038 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">. File Received (GMT) => 2019-03-01 03:12:14<o:p></o:p></span></p>
<p class="MsoNormal">
<span lang="EN-GB">. File Received (EST) => 2019-02-28 22:12:14<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">. Dates Processed => 02/28/2019<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">. File/Dir Processed => DecentrixReport_OrderLine_FTP_20190228210038.csv.gz<o:p></o:p></span></p><p class="MsoNormal"><b><span lang="EN-GB"><o:p> </o:p></span></b></p>
<p style="color:green" class="MsoNormal"><span lang="EN-GB">
. <strong>File Status => File Arrived, Ready To Process</strong> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">
. Date To Run => 20190304 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">
. Date On File => 20190301210059 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">. File Received (GMT) => 2019-03-02 03:12:14<o:p></o:p></span></p>
<p class="MsoNormal">
<span lang="EN-GB">. File Received (EST) => 2019-03-01 22:12:14<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">. File/Dir To Process => DecentrixReport_OrderLine_FTP_20190301210059.csv.gz<o:p></o:p></span></p><p class="MsoNormal"><b><span lang="EN-GB"><o:p> </o:p></span></b></p>
<p style="color:green" class="MsoNormal"><span lang="EN-GB">
. <strong>File Status => File Arrived, Ready To Process</strong> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">
. Date To Run => 20190304 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">
. Date On File => 20190302210010 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">. File Received (GMT) => 2019-03-03 03:12:33<o:p></o:p></span></p>
<p class="MsoNormal">
<span lang="EN-GB">. File Received (EST) => 2019-03-02 22:12:33<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">. File/Dir To Process => DecentrixReport_OrderLine_FTP_20190302210010.csv.gz<o:p></o:p></span></p><p class="MsoNormal"><b><span lang="EN-GB"><o:p> </o:p></span></b></p>
<p style="color:green" class="MsoNormal"><span lang="EN-GB">
. <strong>File Status => File Arrived, Ready To Process</strong> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">
. Date To Run => 20190304 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">
. Date On File => 20190303210031 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">. File Received (GMT) => 2019-03-04 03:12:18<o:p></o:p></span></p>
<p class="MsoNormal">
<span lang="EN-GB">. File Received (EST) => 2019-03-03 22:12:18<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">. File/Dir To Process => DecentrixReport_OrderLine_FTP_20190303210031.csv.gz<o:p></o:p></span></p><p class="MsoNormal"><b><span lang="EN-GB"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-GB"><o:p> </o:p></span></b></p><o:p></o:p></p></body></html>