我在表格中使用以下代码:
<tr>
<td>User Language:</td>
<td>
<asp:DropDownList ID="Language" runat="server" Width="200px">
<asp:ListItem Selected="True">English</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td><span class="important">*</span>Company:</td>
<td><asp:TextBox ID="Company" runat="server" width="200px" /></td>
</tr>
Run Code Online (Sandbox Code Playgroud)
当代码出现在网站上时,<asp:Textbox>控件为205px,<asp:DropDownList>宽度为200px.是什么造成的?它们都设置为200px的宽度.
| 归档时间: |
|
| 查看次数: |
5468 次 |
| 最近记录: |