1 回答
TA贡献1830条经验 获得超9个赞
<frameset cols="25%,50%,*" rows="50%,*" border="5">
<frame src="the_first.html">
<frame src="the_second.html">
......
</frameset>
1.纵向分割窗口
<html>
<head>
<title>rows纵向分割为3个窗口</title>
</head>
<frameset bordercolor="red" rows="25%,50%,*" border="5">
<frame src="subframe/the_first.html" name="top"/>
<frame src="subframe/the_second.html" name="middle"/>
<frame src="subframe/the_thdrd.html" name="bottom"/>
</frameset >
<html>
2.横向分割窗口
<html>
<head>
<title>cols进行纵向分割</title>
</head>
<frameset bordercolor="#FF0000" cols="200,*,200" border="5">
<frame name="leftFrame" src="subframe/the_first.html" />
<frame name="mainFrame" src="subframe/the_second.html" />
<frame name="rightFrame" src="subframe/the_third.html" />
</frameset >
3.横向和纵向同时分割窗口
<html>
<head>
<title>创建多框架页面</title>
</head>
<frameset rows="20%,*" frameborder="0">
<frame src="subframe/top.html" name="topFrame"
scrolling="no" noresize="topframe"/>
<frameset cols="20%,*">
<frame src="subframe/left.html" name="leftframe"
scrolling="no" noresize"noresize">
<frame src="subframe/right.html" name="rightframe">
</frameset >
</frameset >
<html>
- 1 回答
- 0 关注
- 844 浏览
添加回答
举报