Jquery HTML-表中行后的额外空间
我在显示数据的每一行中都有一个额外的空间。我想删除这个,尝试了很多方法,但是每行之后仍然保留空间 以下是屏幕截图: 下面是我的代码:Jquery HTML-表中行后的额外空间,jquery,html,css,Jquery,Html,Css,我在显示数据的每一行中都有一个额外的空间。我想删除这个,尝试了很多方法,但是每行之后仍然保留空间 以下是屏幕截图: 下面是我的代码: <table width="100%" border="0"id="slData" class="table table-bordered table-hover table-striped table-condensed dataTable" > <thead> <tr> <th><d
<table width="100%" border="0"id="slData" class="table table-bordered table-hover table-striped table-condensed dataTable" >
<thead>
<tr>
<th><div align="left">Equipment </div></th>
<th><div align="left">Quantity</div></th>
<th><div align="left">Unit Cost</div></th>
<th><div align="left">Equipment </div></th>
<th><div align="left">Quantity</div></th>
<th><div align="left">Unit Cost</div></th>
</tr>
</thead>
<tr>
<td valign="middle">Desktop </td>
<td><input type="hidden" name="typemachin[]" value="desktop" />
<input type="text" name="nummachine[]" style="width:50px;" value="0"/></td>
<td><input type="text" name="price[]" value="0.00"style="width:50px;"/></td>
<td>Server</td>
<td><input type="hidden" name="typemachin[]" value="Server" />
<input type="text" name="nummachine[]" style="width:50px;" value="0"/></td>
<td><input type="text" name="price[]" value="0.00"style="width:50px;"/></td>
</tr>
<tr>
<td>Laptop</td>
<td><input type="hidden" name="typemachin[]" value="Laptop" />
<input type="text" name="nummachine[]" style="width:50px;" value="0"/></td>
<td><input type="text" name="price[]" value="0.00"style="width:50px;"/></td>
<td>Network</td>
<td><input type="hidden" name="typemachin[]" value="Network" />
<input type="text" name="nummachine[]" style="width:50px;" value="0"/></td>
<td><input type="text" name="price[]" value="0.00"style="width:50px;"/></td>
</tr>
<tr>
<td>Scanner/Imaging Device</td>
<td><input type="hidden" name="typemachin[]" value="Scanner/Imaging Device" />
<input type="text" name="nummachine[]" style="width:50px;" value="0"/></td>
<td><input type="text" name="price[]" value="0.00"style="width:50px;"/></td>
<td>Printer</td>
<td><input type="hidden" name="typemachin[]" value="Printer" />
<input type="text" name="nummachine[]" style="width:50px;" value="0"/></td>
<td><input type="text" name="price[]" value="0.00"style="width:50px;"/></td>
</tr>
请添加一个提琴:我们需要您的CSS,可能还需要您的PHP。请将url或CSS样式粘贴到表中。。。或者尝试在浏览器调试程序中调试它。在调试器中,您可以尝试关闭、打开或替换某些样式。如果没有css定义,我们将无法帮助您。请告诉我们他们的情况。造成这种情况的原因很多,;要么你的输入字段有我打赌的填充,要么你的输入字段有填充,这很可能,但看起来不像。尝试添加样式=填充:0!重要的差距:0!重要的在您的一个和一个输入上查看发生了什么!