RT,main框架的高度是会变化的,bottom的位置不能随着main高度的变化而变化,求大虾们帮帮忙 代码如下
HTML code
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="Web_HengliSeed.index" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<frameset rows="350,*" frameborder="no" framespacing="0" border="0" style="height:390%;" >
<frame src="YF_Top.aspx" noresize="noresize" frameborder="NO" name="topFrame" scrolling="no" marginwidth="0" marginheight="0" target="tops" />
<frameset rows="*,90" style="overfolw:scrllo" >
<frameset cols="381,*" id="frame" style="overfolw:scrllo">
<frame src="YF_Left.aspx" name="leftFrame" noresize="noresize" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" target="lefts" />
<frame src="Default.aspx" name="main" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" target="main" />
</frameset>
<frame src="YF_Bottom.aspx" noresize="true" frameborder="NO" name="bottomFrame" scrolling="no" marginwidth="0" marginheight="0" target="bottoms" />
</frameset>
</frameset>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head>
头部这样写, 让兼容性扩展到最大即可.