<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Bmain.master.cs" Inherits="BACKGROUND_Bmain" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>管理平台</title>
</head>
<frameset rows="61,*,24" cols="*" framespacing="0" frameborder="no" border="0">
<frame src="top.aspx" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" />
<frame src="left.aspx" name="mainFrame" id="mainFrame" />
<frame src="down.aspx" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" />
</frameset>
<noframes>
</noframes><body><form id="form1" runat="server">
<div>
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:contentplaceholder>
</div>
</form></body></html>选择该母板页的内容也都无法显示内容 把<body>里面的内容放在最上面则显示内容页不显示框架
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>管理平台</title>
</head>
<frameset rows="61,*,24" cols="*" framespacing="0" frameborder="no" border="0">
<frame src="top.aspx" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" />
<frame src="left.aspx" name="mainFrame" id="mainFrame" />
<frame src="down.aspx" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" />
</frameset>
<noframes>
</noframes><body><form id="form1" runat="server">
<div>
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:contentplaceholder>
</div>
</form></body></html>选择该母板页的内容也都无法显示内容 把<body>里面的内容放在最上面则显示内容页不显示框架
<body>
<frameset ...>
<iframe src="top.aspx" ../>
<iframe src="left.aspx" ../>
.
.
.
</frameset>
</body>
建议LZ看看framset 和 iframe 的区别以及和body标签的嵌套关系