标签:部署 title no-repeat important inherits css org detail osi
VS网站开发有两种模式:
<%@ page language="C#" autoeventwireup="true" inherits="ErrorPage_UrlError, App_Web_iixanlav" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title>403页面</title> <style type="text/css"> .btnBack{top: 476px; position: absolute; text-align:center; width:100%;} </style> </head> <body style=" text-align:center; margin:0px;"> <img id="error_img" src="../Images/error/405.png" /> <form id="form1" runat="server"> <div class="btnBack"> <input id="Button1" type="button" style="width:130px; height:50px;background:url(../Images/error/error_back.png) no-repeat; border:none; color:#f00; cursor:pointer;" onclick="javascript:window.location=‘../Login.aspx‘;" /> </div> <div> <asp:Literal ID="ltMessage" runat="server"></asp:Literal> </div> </form> </body> </html>
<%@ page language="C#" autoeventwireup="true" inherits="ErrorPage_UrlError, App_Web_urlerror.aspx.83c043b9" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title>403页面</title> <style type="text/css"> .btnBack{top: 476px; position: absolute; text-align:center; width:100%;} </style> </head> <body style=" text-align:center; margin:0px;"> <img id="error_img" src="../Images/error/405.png" /> <form id="form1" runat="server"> <div class="btnBack"> <input id="Button1" type="button" style="width:130px; height:50px;background:url(../Images/error/error_back.png) no-repeat; border:none; color:#f00; cursor:pointer;" onclick="javascript:window.location=‘../Login.aspx‘;" /> </div> <div> <asp:Literal ID="ltMessage" runat="server"></asp:Literal> </div> </form> </body> </html>
原文链接:
标签:部署 title no-repeat important inherits css org detail osi
原文地址:https://www.cnblogs.com/slowx/p/9377668.html