日期:2014-05-18  浏览次数:20470 次

求指教:在IE7 和 Firefox浏览器下 兼容的ASPX2.0 框架Frameset 设计?
ASPX2.0设计系统中 需要使用框架源码如下:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Index.aspx.cs" Inherits="Index" EnableTheming="false" %>

<!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>System</title>
</head>
<frameset border="0" framespacing="0" rows="65,*,19" frameborder="0">
<frame id="Header" name="Header" src="Header1.aspx" scrolling="no" noresize frameborder="no">
<frameset id="menu_main" cols="110,12,*">
<frame id="Left" name="EpmLeft" src="Tree1.aspx" noresize scrolling="no" frameborder="no">
<frame id="Bar" name="Bar" marginwidth="0" marginheight="0" src="Bar.aspx" noresize scrolling="no" frameborder="0">
<frame id="Main" name="Main" src="Main1.aspx" scrolling="auto" >
</frameset>
<frame id="Footer" name="Footer" src="Footer1.aspx" scrolling="no" noresize frameborder="no">
</frameset>

</html>
 在IE7.0 OR Firefoxl浏览器就挂了,现在都是怎么设计的?


------解决方案--------------------
<% @ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<frameset rows="*" cols="181,*" framespacing="0" frameborder="1" border="false" id="frame"
scrolling="yes">
<frame name="left" scrolling="auto" marginwidth="0" marginheight="0" src="menu_left.aspx">
<frameset framespacing="0" border="false" rows="35,*" frameborder="0" scrolling="yes">
<frame name="top" scrolling="no" src="menu_top.aspx">
<frame name="main" scrolling="auto" src="admin_body.aspx">
</frameset>
</frameset>
<noframes>
<body leftmargin="2" topmargin="0" marginwidth="0" marginheight="0">
<p>
你的浏览器版本过低!本系统要求IE5及以上版本才能使用本系统。</p>
</body>
</noframes>
</html>
我们也是这样的可以没有在各个浏览器.
------解决方案--------------------
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<html>
<head runat="server">
<title><%=GetString("000162")%></title>
<link href ="../inc/Style.css" rel="stylesheet" type="text/css"/>
</head>
<frameset rows="90,*" cols="*" style="" >
<fr