html中<frameset>标签无法正常显示的解决方案

来源:岁月联盟 编辑:exp 时间:2012-06-21

<frameset></frameset>大家都不陌生,就是像表格一样将一个页面划分成好几个页面,如下图

 

/
把一个页面横着分成了三部分,各有各自的滚动条。

但是在显示上图之前,我试了很多方法,都无法正藏显示,搞得我很郁闷,后来才知道,这个标签不能放在<body>标签里。

我的代码如下:


<html> 
<frameset cols="25%,50%,25%"> 
  <frame src="aaa.html"> 
  <frame src="aaa.html"> 
  <frame src="aaa.html"> 
</frameset> 
</html>  www.2cto.com
<html>
<frameset cols="25%,50%,25%">
  <frame src="aaa.html">
  <frame src="aaa.html">
  <frame src="aaa.html">
</frameset>
</html>

 作者:cangkukuaimanle