日期:2014-05-17 浏览次数:20659 次
html { background-color:Gray; font:14px Georgia,Serif; } .content { margin:auto; width:600px; border:solid 1px black; background-color:White; padding:10px; } h1 { color:Gray; font-size:18px; border-bottom:solid 1px orange; } label { font-weight:bold; } input { background-color:Yellow; border:double 3px orange; } .button { background-color:#eeeeee; }
<%@ Page Language="C#" Theme="StyleTheme" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> </script> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div class="content"> <h1> Registration Form</h1> <asp:Label ID="lblFirstName" AssociatedControlID="txtFirstName" runat="server" /> <br /> <asp:TextBox ID="txtFirstName" runat="server" /> <br /> <br /> <asp:Label ID="lblLastName" Text="Last Name:" AssociatedControlID="txtLastName" runat="server" /> <br /> <asp:TextBox ID="txtLastName" runat="server" /> <br /> <br /> <asp:Button ID="btnSubmit" Text="Submit Form" CssClass="button" runat="server" /> </div> </form> </body> </html>
<%@ Page Language="C#" Theme="Simple5" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> </script> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div id="div1"> First div content <br /> First div content <br /> First div content <br /> First div content <br /> First div content <br /> First div content </div> <div id="div2"> Second div content <br /> Second div content <br /> Second div content <br /> Second div content <br /> Second div content <br /> Second div content </div> <div id="div3"> Third di