我很困惑。
使用以下代码:
<div>
<table class="filter_component_css">
<tr>
<td>purchase order</td>
<td><asp:TextBox CssClass="search_format" ID="po_textbox" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>material desc</td>
<td><asp:TextBox CssClass="search_format" ID="material_desc_textbox" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>supplier</td>
<td><asp:TextBox CssClass="search_format" ID="supplier_textbox" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>manufacturer</td>
<td><asp:TextBox CssClass="search_format" ID="manufacturer_textbox" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>special tools</td>
<td><asp:Checkbox CssClass="checkbox_format" ID="tools_checkbox" runat="server"/></td>
</tr>
<tr>
<td colspan="2">
<asp:Button ID="buttonReset" runat="server" Text="Reset" OnClick="submitResetClick"/>
<asp:Button ID="buttonSearch" runat="server" Text="Search" OnClick="submitSearchClick"/>
</td>
</tr>
</table>
</div>
和 CSS 类:
.checkbox_format
{
border: 1px solid black;
}
结果,我看到复选框周围有空格。我正在 IE7 中测试应用程序。我的问题 - 是否可以删除复选框周围的空格?