HTML电子邮件:从Outlook 2007中的表中删除边框

时间:2015-11-13 11:03:13

标签: html css email outlook

我正试图摆脱桌边界。它在GMAIL Webapp中显示正常,但Outlook只使用黑色默认边框。我该怎样摆脱它们?

<TABLE style="BORDER-TOP: 0px; BORDER-RIGHT: 0px; BORDER-COLLAPSE: collapse; BORDER-BOTTOM: 0px; MARGIN: 0px auto; BORDER-SPACING: 0; BORDER-LEFT: 0px" cellSpacing=0 cellPadding=0 rules=none width="95%" border=0 frame=void>
    <TR border="0" cellPadding="0" cellSpacing="0">
        <TH style="OVERFLOW: hidden; FONT-SIZE: 12px; BORDER-TOP: 0px solid; FONT-FAMILY: Arial, sans-serif; BORDER-RIGHT: 0px solid; VERTICAL-ALIGN: top; BORDER-BOTTOM: 0px solid; WORD-BREAK: normal; FONT-WEIGHT: bold; COLOR: #ffffff; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 5px; BORDER-LEFT: 0px solid; PADDING-RIGHT: 5px; BACKGROUND-COLOR: #00349a" border="0" cellPadding="0" cellSpacing="0">OEM-Nr.</TH>
        <TH style="OVERFLOW: hidden; FONT-SIZE: 12px; BORDER-TOP: 0px solid; FONT-FAMILY: Arial, sans-serif; BORDER-RIGHT: 0px solid; VERTICAL-ALIGN: top; BORDER-BOTTOM: 0px solid; WORD-BREAK: normal; FONT-WEIGHT: bold; COLOR: #ffffff; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 5px; BORDER-LEFT: 0px solid; PADDING-RIGHT: 5px; BACKGROUND-COLOR: #00349a" border="0" cellPadding="0" cellSpacing="0">Bezeichnung</TH>
        <TH style="OVERFLOW: hidden; FONT-SIZE: 12px; BORDER-TOP: 0px solid; FONT-FAMILY: Arial, sans-serif; BORDER-RIGHT: 0px solid; VERTICAL-ALIGN: top; BORDER-BOTTOM: 0px solid; WORD-BREAK: normal; FONT-WEIGHT: bold; COLOR: #ffffff; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 5px; BORDER-LEFT: 0px solid; PADDING-RIGHT: 5px; BACKGROUND-COLOR: #00349a" border="0" cellPadding="0" cellSpacing="0">Preis</TH></TR>
    <TR border="0" cellPadding="0" cellSpacing="0">
        <TD style="OVERFLOW: hidden; FONT-SIZE: 12px; BORDER-TOP: 0px solid; FONT-FAMILY: Arial, sans-serif; BORDER-RIGHT: 0px solid; VERTICAL-ALIGN: top; BORDER-BOTTOM: 0px solid; WORD-BREAK: normal; FONT-WEIGHT: bold; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 5px; BORDER-LEFT: 0px solid; PADDING-RIGHT: 5px" border="0" cellPadding="0" cellSpacing="0">DCP8110DNG1</TD>
        <TD style="OVERFLOW: hidden; FONT-SIZE: 12px; BORDER-TOP: 0px solid; FONT-FAMILY: Arial, sans-serif; BORDER-RIGHT: 0px solid; VERTICAL-ALIGN: top; BORDER-BOTTOM: 0px solid; WORD-BREAK: normal; FONT-WEIGHT: bold; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 5px; BORDER-LEFT: 0px solid; PADDING-RIGHT: 5px" border="0" cellPadding="0" cellSpacing="0">Brother DCP-8110DN</TD>
        <TD style="OVERFLOW: hidden; FONT-SIZE: 12px; BORDER-TOP: 0px solid; FONT-FAMILY: Arial, sans-serif; BORDER-RIGHT: 0px solid; VERTICAL-ALIGN: top; BORDER-BOTTOM: 0px solid; WORD-BREAK: normal; FONT-WEIGHT: bold; COLOR: #00349a; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 5px; BORDER-LEFT: 0px solid; PADDING-RIGHT: 5px" border="0" cellPadding="0" cellSpacing="0">239,00 &euro;</TD>
    </TR>
    <TR border="0" cellPadding="0" cellSpacing="0">
        <TD style="OVERFLOW: hidden; FONT-SIZE: 12px; BORDER-TOP: 0px solid; FONT-FAMILY: Arial, sans-serif; BORDER-RIGHT: 0px solid; VERTICAL-ALIGN: top; BORDER-BOTTOM: 0px solid; WORD-BREAK: normal; FONT-WEIGHT: bold; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 5px; BORDER-LEFT: 0px solid; PADDING-RIGHT: 5px; BACKGROUND-COLOR: #edf4fc" border="0" cellPadding="0" cellSpacing="0">HL3142CWG1</TD>
        <TD style="OVERFLOW: hidden; FONT-SIZE: 12px; BORDER-TOP: 0px solid; FONT-FAMILY: Arial, sans-serif; BORDER-RIGHT: 0px solid; VERTICAL-ALIGN: top; BORDER-BOTTOM: 0px solid; WORD-BREAK: normal; FONT-WEIGHT: bold; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 5px; BORDER-LEFT: 0px solid; PADDING-RIGHT: 5px; BACKGROUND-COLOR: #edf4fc" border="0" cellPadding="0" cellSpacing="0">Brother HL-3142CW</TD>
        <TD style="OVERFLOW: hidden; FONT-SIZE: 12px; BORDER-TOP: 0px solid; FONT-FAMILY: Arial, sans-serif; BORDER-RIGHT: 0px solid; VERTICAL-ALIGN: top; BORDER-BOTTOM: 0px solid; WORD-BREAK: normal; FONT-WEIGHT: bold; COLOR: #00349a; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 5px; BORDER-LEFT: 0px solid; PADDING-RIGHT: 5px; BACKGROUND-COLOR: #edf4fc" border="0" cellPadding="0" cellSpacing="0">109,00 &euro;</TD>
    </TR>
    <TR border="0" cellPadding="0" cellSpacing="0">
        <TD style="OVERFLOW: hidden; FONT-SIZE: 12px; BORDER-TOP: 0px solid; FONT-FAMILY: Arial, sans-serif; BORDER-RIGHT: 0px solid; VERTICAL-ALIGN: top; BORDER-BOTTOM: 0px solid; WORD-BREAK: normal; FONT-WEIGHT: bold; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 5px; BORDER-LEFT: 0px solid; PADDING-RIGHT: 5px" border="0" cellPadding="0" cellSpacing="0">HL5450DNG1</TD>
        <TD style="OVERFLOW: hidden; FONT-SIZE: 12px; BORDER-TOP: 0px solid; FONT-FAMILY: Arial, sans-serif; BORDER-RIGHT: 0px solid; VERTICAL-ALIGN: top; BORDER-BOTTOM: 0px solid; WORD-BREAK: normal; FONT-WEIGHT: bold; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 5px; BORDER-LEFT: 0px solid; PADDING-RIGHT: 5px" border="0" cellPadding="0" cellSpacing="0">Brother HL-5450DN</TD>
        <TD style="OVERFLOW: hidden; FONT-SIZE: 12px; BORDER-TOP: 0px solid; FONT-FAMILY: Arial, sans-serif; BORDER-RIGHT: 0px solid; VERTICAL-ALIGN: top; BORDER-BOTTOM: 0px solid; WORD-BREAK: normal; FONT-WEIGHT: bold; COLOR: #00349a; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 5px; BORDER-LEFT: 0px solid; PADDING-RIGHT: 5px" border="0" cellPadding="0" cellSpacing="0">149,00 &euro;</TD></TR>
    <TR border="0" cellPadding="0" cellSpacing="0">
        <TD style="OVERFLOW: hidden; FONT-SIZE: 12px; BORDER-TOP: 0px solid; FONT-FAMILY: Arial, sans-serif; BORDER-RIGHT: 0px solid; VERTICAL-ALIGN: top; BORDER-BOTTOM: 0px solid; WORD-BREAK: normal; FONT-WEIGHT: bold; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 5px; BORDER-LEFT: 0px solid; PADDING-RIGHT: 5px; BACKGROUND-COLOR: #edf4fc" border="0" cellPadding="0" cellSpacing="0">HLL8250CDNG1</TD>
        <TD style="OVERFLOW: hidden; FONT-SIZE: 12px; BORDER-TOP: 0px solid; FONT-FAMILY: Arial, sans-serif; BORDER-RIGHT: 0px solid; VERTICAL-ALIGN: top; BORDER-BOTTOM: 0px solid; WORD-BREAK: normal; FONT-WEIGHT: bold; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 5px; BORDER-LEFT: 0px solid; PADDING-RIGHT: 5px; BACKGROUND-COLOR: #edf4fc" border="0" cellPadding="0" cellSpacing="0">Brother HL-L8250CDN</TD>
        <TD style="OVERFLOW: hidden; FONT-SIZE: 12px; BORDER-TOP: 0px solid; FONT-FAMILY: Arial, sans-serif; BORDER-RIGHT: 0px solid; VERTICAL-ALIGN: top; BORDER-BOTTOM: 0px solid; WORD-BREAK: normal; FONT-WEIGHT: bold; COLOR: #00349a; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 5px; BORDER-LEFT: 0px solid; PADDING-RIGHT: 5px; BACKGROUND-COLOR: #edf4fc" border="0" cellPadding="0" cellSpacing="0">149,00 &euro;</TD>
    </TR>
</TABLE>

我正在使用Supermailer进行编码。它将HTML / CSS语义大写并在导出时更改它们。我不明白为什么,但它通常有用。

2 个答案:

答案 0 :(得分:1)

谢谢,我得到了解决方案。以某种方式删除每个边框css命令,只需依靠border = 0工作。我讨厌编辑新闻通讯。他们没有任何意义。

谢谢你,谢谢你的帮助!

答案 1 :(得分:0)

使用solid更改边框顶部的hidden
我应该对此发表评论,但仍然不能因为缺乏声誉。

参考:Css Border Reference