为什么TextBox和DropDownList的在浏览器中不一样宽
非常之简单的代码:
<asp:TextBox ID="t1" Width="200" runat=server></asp:TextBox><br />
<asp:DropDownList ID="t2" Width="200" runat=server></asp:DropDownList>
我是IE6.0浏览器,后来发现是因为.net自动生成的这一行的原因
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
请问各位大虾,碰到这种情况要怎么解决?