我面临的问题对齐的复选框中的一些具体原因,表格单元格如何将复选框与表格单元格中的文本居中?
<table style="empty-cells:hide;" border="1" cellpadding="1" cellspacing="1">
<tr>
<td valign="top">
test 1 -
<input type="checkbox" name="query_myTextEditBox">
test 2 -
myTextEditBox
<select size ="3" name="myTextEditBox_compare_operator">
<option value="1">option 1</option>
<option value="2">option 2</option>
</select>
</td>
<td valign="top">
<input type="text" value="my text" name="myTextEditBox">
</td>
</tr>
,我不想&复选框分隔文本到2个细胞
我没有看到这个帖子How to center a checkbox in a table cell?但它不为我工作。
是你想这样http://jsfiddle.net/gSaPb/还是怎么样? – KarSho