【发布时间】:2015-12-01 11:11:07
【问题描述】:
我得到警告“不支持元素框架集”和“不支持元素框架”。我知道我必须更改为 iframe,但我不知道如何。 你能帮助我吗? 谢谢
<%@ Page CodeBehind="Payroll.aspx.cs" Language="c#" AutoEventWireup="false" Inherits="BM.Payslip.UserServices.EndUser.Payroll" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Title/title>
<meta http-equiv="CONTENT-TYPE" content="TEXT/HTML; CHARSET=WINDOWS-1255"/>
<meta http-equiv="CACHE-CONTROL" content="NO-CACHE";/>
<meta http-equiv="PRAGMA" content="NO-CACHE";/>
<meta http-equiv="EXPIRES" content="now";/>
<meta http-equiv="cache-control" content="no-store";/>
<link href="CSS\StyleSheet.css" type="text/css" rel="stylesheet"/>
<%-- </link>--%>
<script type ="text/javascript" src="ClientSideScripts/JSUtils.js">
</script>
</head>
<%-- <body>--%>
<fraemset border="0" id="payroll" onload="javascript:ValidateNoFrames()" rows="85px,*" frameSpacing="0" frameBorder="0">
<frameset border="0" frameSpacing="0" frameBorder="0" cols="*,910px,*">
<frame src="xmlTry.aspx" id="Frame3" name="kk" noresize="noresize" >
<frame src="Main.aspx" id="HMain">
<frame src="xmlTry.aspx" id="Frame5" name="kk" noresize="noresize" >
</FRAMESET>
<FRAMESET border="0" frameSpacing="0" frameBorder="0" cols="*,910px,*">
<frame src="xmlTry.aspx" id="Frame2" name="kk" noresize="noresize" >
<frame src="MainPage.aspx" id="SlipArea" name="SlipArea" noresize="noresize" >
<frame src="xmlTry.aspx" id="Frame1" name="kk" noresize="noresize"/>
</FRAMESET>
</FRAMESET>
<%-- </body>--%>
</html>
【问题讨论】: