Login.aspx 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="LYFZ.NationalMarketing.Login" %>
  2. <!DOCTYPE html>
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head runat="server">
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title></title>
  7. <style type="text/css">
  8. body {
  9. background: #0F4C5E;
  10. }
  11. .login {
  12. position: absolute;
  13. top: 50%;
  14. left: 50%;
  15. margin: -120px 0 0 -300px;
  16. border: 1px #05799E solid;
  17. width: 535px;
  18. height: 110px;
  19. background: #0C5870;
  20. }
  21. .title-text {
  22. margin: 5px 5px 0 0;
  23. text-align: right;
  24. color: #FFF;
  25. }
  26. input {
  27. border: 1px #ddd solid;
  28. height: 19px;
  29. width: 83px;
  30. }
  31. .button {
  32. padding: 2px 4px 0 4px;
  33. font-size: 12px;
  34. height: 23px;
  35. background-color: #ece9d8;
  36. border-width: 1px;
  37. }
  38. #foot {
  39. position: absolute;
  40. margin: 0 auto;
  41. left: 50%;
  42. top: 50%;
  43. width: 600px;
  44. margin: -6px 0 0 -300px;
  45. }
  46. </style>
  47. </head>
  48. <body>
  49. <form runat="server" id="myform">
  50. <div>
  51. <div class="login" style="width: 600px;">
  52. <div>
  53. <div class="f-right title-text">
  54. <br />
  55. </div>
  56. </div>
  57. <div>
  58. <table width="554">
  59. <tr>
  60. <td width="86px" align="right" height="45px">用户名:</td>
  61. <td width="113">
  62. <asp:TextBox ID="txtname" runat="server" Style="width: 120px;" TabIndex="1"></asp:TextBox>
  63. </td>
  64. <td width="70" align="right">密 码:</td>
  65. <td width="104">
  66. <input id="txtpwd" runat="server" value="123456" type="password" style="width: 120px;"/>
  67. </td>
  68. <td style="padding-left: 5px; width: 62px;">
  69. <asp:Button ID="Button1" runat="server" Text="登录" Style="width: 100px;" OnClick="Button1_Click" />
  70. </td>
  71. </tr>
  72. </table>
  73. </div>
  74. </div>
  75. </div>
  76. </form>
  77. </body>
  78. </html>