我想在表数据中创建一个表。但我看到外表和内表之间的差距,我不想要。我无法附加图片
我的代码:
<table class="clearfix sureIQTable scanoTable borderGray TableBottomBorder" id="softTissue">
<tr>
<th nowrap="nowrap" style= "width:1px; background-color: #88A4BB;"></th>
<th nowrap="nowrap" style="width:87px; background-color: #88A4BB;"></th>
<th class="textLeft" style="font-size:12px" colspan="17">
<span class="textLeft"><xsl:value-of select="ScanModeParam/comment"/></span>
</th>
</tr>
<tr>
<th class="textLeft" colspan="3" style="background-color: #88A4BB;vertical-align:top;font-size:15px;font-weight:normal; white-space: nowrap;"><img src="images/GG_Helical.png" alt=""/><br></br>
<td>
<table width="100%">
<tr >
<th class="textCenter width30px" style="font-size:14px;font-weight:bold">Start</th>
<th class="textCenter width100px" style="font-size:14px;font-weight:bold"><xsl:value-of select="ScanModeParam/StartTime/@DisplayName"/></th>
<th class="textCenter width100px" style="font-size:14px;font-weight:bold"><xsl:value-of select="ScanModeParam/WaitTime/@DisplayName"/></th>
<th class="textCenter width100px" style="font-size:14px;font-weight:bold">Start Position(mm)</th>
<th class="textCenter width100px" style="font-size:14px;font-weight:bold"><xsl:value-of select="ScanModeParam/Range/@DisplayName"/></th>
</tr>
</table>
</td>
</tr>
</table>
有人可以帮助我吗
由于
答案 0 :(得分:0)
<table width="100%" border="0" cellpadding="0" cellspacing="0">
答案 1 :(得分:0)
你能试试吗?
在单元格之间不留空格使用border-collapse:collapse;
对于CSS
table{
border-collapse: collapse;
border-spacing: 0px; //It is for IE
}