- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我不是 UI 专家,只是创建一个简单的 HTML 页面来显示 outlook 中数据库表中的日志。几行有异常详细信息,它似乎覆盖了表格宽度属性。有人建议我使用内联样式,但似乎也无济于事。
如有任何帮助,我们将不胜感激。 (试了100多种方法都崩溃了)
HTML代码:
<?xml version="1.0" encoding="UTF-8"?><html xmlns:tns6="http://dewa.gov.ae/SmartGrid/xsd/Logger_v1_0_0_0.xsd" xmlns:tib="http://www.tibco.com/bw/xslt/custom-functions"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
h2{
text-align: center;
font-size: 18px;
text-transform: uppercase;
letter-spacing: 1px;
color: black;
}
</style>
</head>
<body>
<h2>LogData</h2>
<table border="0" bgcolor="#fff" cellpadding="0" cellspacing="0" width="300" height="100%">
<tbody>
<tr>
<th style="margin:0 auto; border: 1px solid black;">UUID</th>
<td bgcolor="#fafafa" width="150" style="margin:0 auto; border: 1px solid black;" align="left" height="100%">
2821d9cc-e9c4-4823-86d0-6f88944ec488</td>
</tr>
<tr>
<th style="margin:0 auto; border: 1px solid black;">InterfaceId</th>
<td bgcolor="#fafafa" width="150" style="margin:0 auto; border: 1px solid black;" align="left" height="100%">
11111</td>
</tr>
<tr>
<th style="margin:0 auto; border: 1px solid black;">ApplicationName</th>
<td bgcolor="#fafafa" width="150" style="margin:0 auto; border: 1px solid black;" align="left" height="100%">
adadfadsfsf</td>
</tr>
<tr>
<th>ComponentName</th>
<td bgcolor="#fafafa" width="150" style="margin:0 auto; border: 1px solid black;" align="left" height="100%">
adadfadsfsf</td>
</tr>
<tr>
<th>SourceApplicationName</th>
<td bgcolor="#fafafa" width="150" style="margin:0 auto; border: 1px solid black;" align="left" height="100%">
adadfadsfsf</td>
</tr>
<tr>
<th>TargetApplicationName</th>
<td bgcolor="#fafafa" width="150" style="margin:0 auto; border: 1px solid black;" align="left" height="100%">
adadfadsfsf</td>
</tr>
<tr>
<th>Message</th>
<td bgcolor="#fafafa" width="150" style="margin:0 auto; border: 1px solid black;" align="left" height="100%">
adadfadsfsf</td>
</tr>
<tr>
<th>EngineName</th>
<td bgcolor="#fafafa" width="150" style="margin:0 auto; border: 1px solid black;" align="left" height="100%">
adadfadsfsf</td>
</tr>
<tr>
<th>TransactionTimeStamp</th>
<td bgcolor="#fafafa" width="150" style="margin:0 auto; border: 1px solid black;" align="left" height="100%">
2019-12-08T16:29:04.408+04:00</td>
</tr>
<tr>
<th>TimeStamp</th>
<td bgcolor="#fafafa" width="150" style="margin:0 auto; border: 1px solid black;" align="left" height="100%">
2019-12-08T16:29:04.408+04:00</td>
</tr>
<tr>
<th>Exception</th>
<td bgcolor="#fafafa" width="150" style="margin:0 auto; border: 1px solid black;" align="left" height="100%">
<?xml version="1.0" encoding="UTF-8"?><tns:logdata xmlns:tns="http://dewa.gov.ae/SmartGrid/xsd/Logger_v1_0_0_0.xsd" xmlns:tib="http://www.tibco.com/bw/xslt/custom-functions"><tns:logdata><tns:uuid>cac7e8c7-5b76-4f54-a193-a4230c7a4ba2</tns:uuid><tns:interfaceid>11111</tns:interfaceid><tns:applicationname>adadfadsfsf</tns:applicationname><tns:componentname>adadfadsfsf</tns:componentname><tns:sourceapplicationname>adadfadsfsf</tns:sourceapplicationname><tns:targetapplicationname>adadfadsfsf</tns:targetapplicationname><tns:message>adadfadsfsf</tns:message><tns:enginename>adadfadsfsf</tns:enginename><tns:transactiontimestamp>2019-12-05T12:22:17.901+04:00</tns:transactiontimestamp><tns:timestamp>2019-12-05T12:22:17.901+04:00</tns:timestamp><tns:logtype>INFO</tns:logtype></tns:logdata></tns:logdata></td>
</tr>
<tr>
<th>LogType</th>
<td bgcolor="#fafafa" width="150" style="margin:0 auto; border: 1px solid black;" align="left" height="100%">
INFO</td>
</tr>
<tr>
<th>EventPayload</th>
<td bgcolor="#fafafa" width="150" style="margin:0 auto; border: 1px solid black;" align="left" height="100%">
<?xml version="1.0" encoding="UTF-8"?><tns:logdata xmlns:tns="http://dewa.gov.ae/SmartGrid/xsd/Logger_v1_0_0_0.xsd" xmlns:tib="http://www.tibco.com/bw/xslt/custom-functions"><tns:logdata><tns:uuid>cac7e8c7-5b76-4f54-a193-a4230c7a4ba2</tns:uuid><tns:interfaceid>11111</tns:interfaceid><tns:applicationname>adadfadsfsf</tns:applicationname><tns:componentname>adadfadsfsf</tns:componentname><tns:sourceapplicationname>adadfadsfsf</tns:sourceapplicationname><tns:targetapplicationname>adadfadsfsf</tns:targetapplicationname><tns:message>adadfadsfsf</tns:message><tns:enginename>adadfadsfsf</tns:enginename><tns:transactiontimestamp>2019-12-05T12:22:17.901+04:00</tns:transactiontimestamp><tns:timestamp>2019-12-05T12:22:17.901+04:00</tns:timestamp><tns:logtype>INFO</tns:logtype></tns:logdata></tns:logdata></td>
</tr>
</tbody>
</table>
<br>
<hr>
<font face="Arial" color="Black" size="1"><br>
Our Vision: A globally leading sustainable innovative corporation.<br>
<p>Our Mission: We are committed and aligned to Dubai’s 8 Principles and 50-Year Charter supporting the UAE’s directions through the delivery of global leading services and innovative energy solutions enriching lives and ensuring the happiness of our stakeholders
in a sustainable manner.<br>
</font></p>
<hr>
<font face="Arial" color="Green" size="1"><br>
Please consider the environment before printing this email.<br>
<p></p>
</font>
</body>
</html>
最佳答案
最后通过将以下样式添加到 <table>
来修复它和 <td>
<table bgcolor="#fff" border="0" cellpadding="20" cellspacing="0" height="100%" width="auto" style="table-layout: fixed;">
<td align="left" height="100%" width="800" style="margin:5 auto; border: 1px solid black;border-collapse: collapse;word-break:break-all;font-family:arial;font-size:8px;background-color: #f2f2f2;">
关于html - Outlook HTML 中的表格宽度问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59235460/
以下 Outlook 的命令适用于 Outlook 2010: outlook.exe /c ipm.note /m "&subject=abc" /a "c:\attach.txt" 但它不适用于
我有 2 个电子邮件帐户,一个是 Gmail,另一个是 Outlook。我想在邮件到达时自动将进入 Outlook 的邮件接收到 Gmail。我该怎么做?Outlook 是否存在任何可能阻碍此操作的安
Outlook 加载项如何在邮件上设置 MAPI 属性(例如正文内容),但仅将其保存在本地缓存中(而不发送回 Exchange 服务器)?我见过使用一些加密插件来完成此操作。 我愿意使用几乎任何可以实
有什么方法可以在 Outlook 的模板主题或正文中插入今天的日期吗?这样,每当我打开保存的模板时,今天的日期就会自动显示在主题和正文中。 有什么内置功能吗?像 Date() 这样的东西? 最佳答案
我有一个时事通讯系统,可以跟踪阅读它的人。尽管此功能仅在允许下载图像的情况下才有效。但这不是我现在的问题。 我的问题是,当我在 Outlook (2010) 中打开新闻稿并授予下载图像的权限时,我的系
我需要从 Outlook msg 文件中读取内容。目前我正在使用来自 CodeProject.com 的类(class)项目来实现这一点,因为在服务器上部署 VSTO 和 Outlook 不是一种选择
我正在开发可与共享邮箱一起使用的 Outlook 加载项。目前,office 插件在委托(delegate)场景中不可用,但 MS 已经发布了支持这些场景的预览版本。https://learn.mic
我正在开发可与共享邮箱一起使用的 Outlook 加载项。目前,office 插件在委托(delegate)场景中不可用,但 MS 已经发布了支持这些场景的预览版本。https://learn.mic
我开发了一个运行良好的 Outlook Web 插件。它是一个任务 Pane ,可在约会的组合模式下使用,它收集事件数据、添加一些数据并将其发送到某个地方的 API。 我现在想做的是将经过身份验证的用
在 Outlook for Mac 中,office.js Outlook 加载项在我假设是 Safari Web 控件的任务 Pane 中运行。我无法确定您如何从任务 Pane 中运行的加载项中清除
Marshal.GetActiveObject("Outlook.Application") 在 Outlook 启动并继续运行时抛出 操作不可用(HRESULT 异常:0x800401E3 (MK_
我有一个 VSTO Outlook 2007 加载项。我必须检查 Outlook 是否与交换服务器脱机/联机。我正在使用如下代码: NameSpace ns = Application.GetNam
我正在尝试在图像上方添加文本,如下所示。它适用于除 Outlook 2010、Outlook 2007、Outlook 2013 之外的所有电子邮件客户端。所有这三个客户端都忽略了填充。我到处都试过了
有没有办法处理 Outlook 邮件项中收件人的悬停事件?我想在悬停时显示一个弹出窗口,其中包含有关收件人的一些信息,并想知道是否可以通过 Outlook 加载项实现。 最佳答案 因为 Inspect
我正在尝试在 Outlook 2007 中创建、更新和删除事件(但最好它适用于所有版本)。创建和删除事件工作正常。我关注了 several threads但由于某种原因更新操作失败。 当我双击 ICS
我在 ms Outlook 中有 2 个帐户('user1@test.com' - 默认配置文件,'user2@test.com'),我正在尝试使用非默认帐户通过 python 发送消息。这是我的代码
我有一个我最近继承的Outlook 2007加载项,目前在生产中存在一个问题,有些用户正在周期性地,似乎是随机地禁用其加载项。外接程序中没有日志,并且在外接程序代码中的每个方法/事件调用周围都存在tr
是否可以为 创建 HTML 电子邮件签名? 2003年展望或以上不引用外部图像? 也就是说,使用那些特殊的“cid”引用,但将图像本身嵌入到签名中,而不是嵌入到文件系统或网络中。 这适用于根据用户的各
似乎没有太多信息或任何好的代码示例用于以编程方式设置 Outlook 2007 MailItem 的类别。 MSDN has a limited page ,并提到使用 VB 的 拆分 功能,或多或少
Outlook 2007 在 Outlook 中撰写新邮件时,可以创建指向其他邮件的链接吗? Whww 我正在撰写一封新邮件,我想创建一个指向已发送项目的链接,单击此链接应该会打开邮件。 这能做到吗?
我是一名优秀的程序员,十分优秀!