0
我在表單元格中有一個表單元素,它在最後給我多餘的不需要的空間。我試圖改變我的樣式表形式{margin-bottom:0;}我如何消除表單元素後的空間,如果它在表格單元格中?消除表單元素後的空間
echo '<tr id="'.$serial.'" class="more"><td colspan="4" valign="top"><form id="newcredit'.$serial.'" name="newcredit'.$serial.'" style="margin-bottom:0">';
echo '<input type="text" id="Label" name="Label" style="width:75px" onKeyPress="return submitcredit(this.event, '.$serial.')" />';
echo '<img src="plussm.png" id="'.$serial.'" title="Add Credit" onclick="creditadd(this.id), removewatermark(this.value, this.id)" /></form>';
Server數據庫調用...的foreach(無聊症的等等)...
echo '<br>';
echo '<input type="text" id="'.$creditid.'" name="Label" style="width:75px" value="'.$recordLabel).'" onchange="creditupdate(this.id, this.name, this.value)" />';
echo '</td></tr>';