当前位置:编程学习 > html/css >>

HTML教程-Frame 的其它属性

答案:
<frame frameborder=#> #=yes, no各窗口边框的设置,yes表示有边框,no表示没有边框
<frame marginwidth=# marginheight=#>
 #的值为像素点
设置各窗口的上下左右边界宽度,如果不设置,由浏览器自动决定。
<frame scrolling=#> #=yes, no, auto滚动条设置,yes 表示有,no表示没有,auto表示由浏览器自动设置,#=缺省值是 auto
<frame noresize>noresize属性来设置不可变动的框边


各窗口边框的设置举例:

<frameset rows=30%,*><frame src="Acol.html" frameborder=1><frameset cols=30%,*>     <frame src="Bcol.html" frameborder=0>     <frame src="Ccol.html" frameborder=0></frameset></frameset>

页面空白举例:

<frameset cols=50%,50%><frame src="A.html"><frame src="A.html"     marginwidth=50     marginheight=50></frameset>

上一个:HTML教程-跨多行、多列的表元
下一个:怎么改善现有网站为xhtml+CSS

CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,