📄 masterpage2.master
字号:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage2.master.cs" Inherits="MasterPage2" %>
<script runat="server">
public Label MasterPageLabel
{
get
{
return Label1;
}
set
{
Label1 = value;
}
}
</script>
<!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 runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table style="background-image: url(image/bg.jpg); border-top-style: ridge; border-right-style: ridge;
border-left-style: ridge; height: 383px; border-bottom-style: ridge; width: 679px;">
<tr>
<td colspan="2" style="background-image: url(image/top.jpg); width: 778px; height: 130px">
</td>
</tr>
<tr>
<td align="center" colspan="2">
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label></td>
</tr>
<tr>
<td style="width: 100px;">
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</td>
<td style="width: 100px;">
<asp:contentplaceholder id="Contentplaceholder2" runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>
<tr>
<td align="center" colspan="2" style="background-image: url(image/008.JPG); height: 133px">
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -