我试图从HTML邮件中的表格中删除三个单元格边框。我现在的情况是这样的:在Outlook 2013中删除HTML邮件中的单元格边框
我有什么

我想要什么

代码:
body
{
font-family:Calibri, Arial, Sans-Serif;
font-weight:normal;
}
table
{
font-family:Calibri, Arial, Sans-Serif;
font-weight:normal;
font-size:14px;
border-color:#CCCCCC;
border-collapse:collapse;
width:700px;
}
table th
{
font-weight:bold;
padding:10px 5px;
border-style:solid;
border-width:1px;
word-break:normal;
border-color:#CCCCCC;
background-color:#F0F0F0;
}
table td
{
padding:10px 5px;
border-style:solid;
border-width:1px;
word-break:normal;
border-color:#CCCCCC;
background-color:#FFFFFF;
}
.td-left-column
{
font-style:italic;
background-color:#F0F0F0;
text-align:right;
white-space:nowrap;
width:100px;
}
p.italic
{
font-style:italic
}
The script
' + $ScriptName + '
has sent a notification. See below for details...
| Script | |
|---|---|
| Path | ' + $ScriptPath + ' |
| Server | ' + $Server + ' |
| Name | ' + $ScriptName + ' |
| Log-File | ' + $LogFileCell + ' |
| Backup Report | ||||
|---|---|---|---|---|
| Path | ' + $BckpDir + ' | |||
| Save Type | ' + $SaveType + ' | |||
| Objects Saved | ' + $FilesSaved + '/' + $TotalBckpFiles + ' | |||
| Start | ' + $Date + ' // ' + $Time + ' | |||
| End | ' + (Get-Date -Format d) + ' // ' + (Get-Date -Format t) + ' | |||
| Task | FTP Download | WinRAR Archive | Total | |
| RunTime | ' + $FTPDLRT + ' | ' + $ArchiveRT + ' | ' + $BckpRT + ' | |
| Size | ' + [System.Math]::Round(($BckpSize/1GB), 1) + ' GB | |||
' + $CompSize + '
Free Disk Space' + [System.Math]::Round(($BckpDsk.FreeSpace/1TB), 1) + ' TB| ID | File Name | Size | Status |
|---|
' + $AllFileRows + '
到目前为止,我已经通过设置边框颜色试了一下到单元格的背景颜色,但没有运气。用border-bottom-style:hidden隐藏边界也没有工作。
更令人困惑的是,当我将border-left-color:#F0F0F0添加到
时,左边框消失。当我尝试为正确的边框做这件事时,它不起作用。我在这里设置了一个小提琴:https://jsfiddle.net/Lk6bf5mm/3/ 问题是,如果它在小提琴中看起来不错,它并不意味着它在Outlook中看起来会一样。
感谢您的任何帮助。
2015-04-01
mariu5

1140

被折叠的 条评论
为什么被折叠?



