📄 mymaster.master
字号:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MyMaster.master.cs" Inherits="MyMaster" %>
<!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>Untitled Page</title>
</head>
<body style="text-align: center">
<form id="form1" runat="server">
<div>
<table border="0" cellpadding="0" cellspacing="0" style="width: 79%; height: 64%">
<tr>
<td colspan="2" style="background-image: url(lv.jpg); height: 99px">
</td>
</tr>
<tr>
<td style="width: 349px; height: 179px; background-color: #009900;">
<a href="brief.aspx" > 母版页简介</a><br />
<br />
<br />
<a href="establish.aspx" >引用母版页</a></td>
<td style="height: 179px; width: 1610px;">
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server"><br /><br /><br />
母版页(Master Page)对设计整个网站的页面风格一致特别有用。<br />
</asp:contentplaceholder>
</td>
</tr>
<tr>
<td colspan="2" style="height: 6px; color: #ffffff;
background-color: #006600; text-align: left;">
Master Page Footer——使用Master Page我就可以偷懒了,哈哈。
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -