frameset,frame标签初始用
2014-12-19 13:44
197 查看
frameset标签使用思路:
1.先给frameset 标签设置行分割(rows)或者按列分割(cols)
比如<frameset rows="150,*">
</frameset>row的两个参数是指将整块页面分成两行,就像以下这样,同理按列分割(cols)也是一样的。
<frameset rows="100,*">
<frame src="yellow.html"/>
<frame src="green.html"/>
</frameset>
2.也可以在frameset内嵌套frameset,要注意的是不要忘了在嵌套的框架中加上分割的参数比例
<frameset rows="100,*">
<frame name="top" src="yellow.html"/>
<frameset name="bottom" cols="400,*">
<frame name="green" src="green.html"/>
<frame name="blue" src="blue.html"/>
</frameset>
</frameset>效果图
3.如果不希望看到frameset的边框,可以设置属性让边框消失
<frameset rows="100,*" framespacing="0" frameborder="0" border="0" >
<frame name="top" src="yellow.html" />
<frameset name="bottom" cols="400,*">
<frame name="green" src="green.html"/>
<frame name="blue" src="blue.html"/>
</frameset>
</frameset>
更多内容可以看以下这篇文章
http://blog.csdn.net/czk_love_wyq/article/details/42026887
1.先给frameset 标签设置行分割(rows)或者按列分割(cols)
比如<frameset rows="150,*">
</frameset>row的两个参数是指将整块页面分成两行,就像以下这样,同理按列分割(cols)也是一样的。
<frameset rows="100,*">
<frame src="yellow.html"/>
<frame src="green.html"/>
</frameset>
2.也可以在frameset内嵌套frameset,要注意的是不要忘了在嵌套的框架中加上分割的参数比例
<frameset rows="100,*">
<frame name="top" src="yellow.html"/>
<frameset name="bottom" cols="400,*">
<frame name="green" src="green.html"/>
<frame name="blue" src="blue.html"/>
</frameset>
</frameset>效果图
3.如果不希望看到frameset的边框,可以设置属性让边框消失
<frameset rows="100,*" framespacing="0" frameborder="0" border="0" >
<frame name="top" src="yellow.html" />
<frameset name="bottom" cols="400,*">
<frame name="green" src="green.html"/>
<frame name="blue" src="blue.html"/>
</frameset>
</frameset>
更多内容可以看以下这篇文章
http://blog.csdn.net/czk_love_wyq/article/details/42026887
相关文章推荐
- HTML <frameset><frame><iframe>标签
- fram的使用(frameset标签、frame标签、iframe标签)
- 标签 frameset, frame ,noframes,iframe
- html中的超链接标签-a标签 和 框架frame与框架集frameset
- html框架 FrameSet,Frame 以及Iframe画中画标签
- 我给女朋友讲编程html系列(3) --html中的超链接标签-a标签 和 框架frame与框架集frameset
- frameset标签、frame标签、iframe标签实现页面部局
- HTML框架标签frameset、frame、iframe、noframes
- 将不同的html页面组合成一个——通过框架标签frameset和frame实现
- frameset当中包含几个frame--oa
- 如何给frame标签的src属性以及a标签的href属性自动设值
- js 操作frameset frame 对象
- 如何为一个网页中的frameset里两个frame中间添加一个伸缩条
- Frame、Iframe、Frameset 的区别 (转)
- frameset标签设计页面
- HTML 框架 frameset,frame
- frameset标签讲解
- HTML <frameset>不同frame之间传值
- HTML中的<frameset>标签——框架详解
- frameset和iframe--框架对象及元素标签对象