日期:2014-05-17  浏览次数:20796 次

frame页面布局
用frame做页面布局,但这样做出来的页面大小只有跟屏幕差不多大,我想让页面像京东商城首页那样的高度可以很大,当屏幕无法完全显示时有滚动条,该怎么办?谢谢,希望能说详细一点,谢谢!

首页的框架布局代码如下:

<!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 style="overflow:scroll;"border="0"frameborder="0" rows="70,404" cols="*">
  <frame src="logo.html" scrolling="no"/noresize>
  <frameset rows="34,359" cols="*">
  <frame src="首页.html" scrolling="no"/>
  <frameset rows="*" cols="114,575">
  <frameset rows="80,273" cols="*">
  <frame src="登录.html" scrolling="no"/>
  <frameset rows="231,52" cols="*">
  <frame src="链接.html" scrolling="no" />
  <frame src="团队简介1.html" scrolling="no" />
  </frameset>
  </frameset>
  <frameset rows="325,28" cols="*">
  <frameset rows="*" cols="419,150">
  <frame src="新闻.html" name="xinwen" scrolling="no"/>
  <frameset rows="324,1"cols="*">
<frame src="留言板.html"scrolling="no">
<frame src="论坛.html"scrolling="no">
</frameset>
  </frameset>
  <frame src="首页底部.html" scrolling="no"/>
  </frameset>
  </frameset>
  </frameset>
</frameset>
<noframes><body>
</body>
</noframes></html>


------解决方案--------------------
京东不使用frame的吧。这些东西完全是div