如何删除带有背景色的 table 单元格分隔符
how to remove the table cell separator with a background color
我在 XPage 中有这段代码,但当它显示时,每个 table 单元格之间有一条白线。使用 HTML 或 ??我该如何摆脱 serarator?
<xp:table border="0">
<xp:tr>
<xp:td style="width:25%" styleClass="wfsBlue">
<xp:image url="/Logo200.gif" id="image1"></xp:image></xp:td>
<xp:td style="width:24.0%" styleClass="wfsBlue"></xp:td>
<xp:td style="width:24.0%" styleClass="wfsBlue"></xp:td>
<xp:td style="width:25.0%" styleClass="wfsBlue">Workflo Systems</xp:td>
</xp:tr>
</xpTable>
给你的 table CSS 风格
table {
border-collapse:collapse;
}
或者(困难的方法):定义属性 cellspacing="0"
我在 XPage 中有这段代码,但当它显示时,每个 table 单元格之间有一条白线。使用 HTML 或 ??我该如何摆脱 serarator?
<xp:table border="0">
<xp:tr>
<xp:td style="width:25%" styleClass="wfsBlue">
<xp:image url="/Logo200.gif" id="image1"></xp:image></xp:td>
<xp:td style="width:24.0%" styleClass="wfsBlue"></xp:td>
<xp:td style="width:24.0%" styleClass="wfsBlue"></xp:td>
<xp:td style="width:25.0%" styleClass="wfsBlue">Workflo Systems</xp:td>
</xp:tr>
</xpTable>
给你的 table CSS 风格
table {
border-collapse:collapse;
}
或者(困难的方法):定义属性 cellspacing="0"