使用iframe设置frameset的高度

index.html的页面代码如下:
<!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=utf-8" />
<title>********</title>
</head>
<frameset cols="" frameborder="no" border="" framespacing="" scrolling="yes" height="">
<frameset rows="154,2600,154" cols="*" framespacing="" frameborder="no" border="" bordercolor="#b7d4f4">
<frame src="top.html" name="topFrame" scrolling="No" id="topFrame" title="topFrame" />
<frameset rows="" cols="236,*" framespacing="" frameborder="no" border="" bordercolor="#b7d4f4">
<frame src="left.html" name="leftFrame" scrolling="No" id="leftFrame" title="leftFrame" />
<frame src="main.html" name="mainFrame" id="mainFrame" title="mainFrame" />
</frameset>
<frame src="top.html" name="bottomFrame" scrolling="No" id="topFrame" title="topFrame" />
</frameset>
</frameset>
<noframes>
<body></body>
</noframes>
</html> -------------------------------------------------------------------------------------------------------------
default.html代码如下:
<!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=utf-8" />
<title>***************</title>
</head> <body style="margin: 0px auto;height: 3000px;width:1440px;">
<iframe src="index.html"
style="height:100%;width:100%;border-width: 0px;">
</iframe>
</body> </html>
上一篇:七、Android动画


下一篇:eclipse tomcat内存设置