服务器控件的位置
为什么我button ,POSITION我用relative或者absolute,它在DIV中的都是一样的
<asp:Button ID="Btn_Login" runat="server" Text="Button" style="Z-INDEX: 105; LEFT: 40px; TOP: 40px; POSITION:relative;" />
<html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> <form id="form1" runat="server"> <div style="height: 120px; width: 800px;position:absolute;left:40px;top:96px" > <asp:Button ID="Btn_Login" runat="server" Text="Button" style="Z-INDEX: 105; LEFT: 40px; TOP: 40px; POSITION:relative;" /> </div> </form></body></html>