排版的问题droplist
程序代码:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="CeShi_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www."> <html xmlns="http://www." > <head id="Head1" runat="server"> <title>添加物品</title> </head> <body style="padding: 5px; background-color: ButtonFace;"> <form id="AddForm" runat="server"> <div style="width: 550px !important; width: auto;"> <div style="float:left"><div style="float: left; width: 100px;">物品助记码:</div> <div style="float: left; width: 160px;"><asp:TextBox ID="Txt_GoodsItemNO" runat="server" MaxLength="32"></asp:TextBox></div></div> <div style="float:left"><div style="float: left; width: 100px;">物品名称:</div> <div style="float: left; width: 160px;"><asp:TextBox ID="Txt_GoodsItemName" runat="server" MaxLength="32"></asp:TextBox></div></div> <div style="float:left"><div style="float: left; width: 100px;">计量单位:</div> <div style="float: left; width: 160px;"><asp:TextBox ID="Txt_GoodsItemUnit" runat="server" MaxLength="32"></asp:TextBox></div></div> <div style="float:left"><div style="float: left; width: 100px;">物品类型:</div> <div style="float: left; width: 160px;"><asp:DropDownList ID="DDL_GoodsItemType" runat="server"></asp:DropDownList></div></div> <div style="float:left"><div style="float: left; width: 100px;">物品单价:</div> <div style="float: left; width: 160px;"><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></div></div> <div style="float:left"><div style="float: left; width: 100px;">物品库存:</div> <div style="float: left; width: 160px;"><asp:TextBox ID="TextBox2" runat="server"></asp:TextBox></div></div> </div> </form> </body> </html>