当前第2页 返回上一页
看看关于frameset标签的代码实例说明:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | <!DOCTYPE HTML>
< html >
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" />
< title >div+css实现frameset效果</ title >
< style type = "text/css" >.header{border-bottom:1px solid #ccc;margin-bottom:5px;}
.MainContainer{min-width:960px;max-width:1600px;}
.sidebar{width:180px;float:left;margin-right:-180px;border-right:1px solid #ccc;min-height:500px;
padding:5px;}.main{float:left;margin-left:200px;padding:5px;}
.content{padding:0 10px;}
</ style >
</ head >
< body >
< div class = "page" >< div class = "header" >< div id = "title" >
< h1 >顶部</ h1 >
</ div ></ div >
< div class = "MainContainer" >< div class = "sidebar" >边栏</ div >
< div id = "main" class = "main" >内容</ div ></ div >
</ div >
</ body >
</ html >
|
上文代码运行效果如下:

以上就是本篇关于HTML5 frameset标签的替代方案,还有替代后的解决办法实例解析。有问题的可以在下方提问
【小编推荐】
HTML5 meter标签什么意思?meter标签的用法详解
html中的注释怎么写?html中的注释符号又是什么?(附实例)
以上就是html5 frameset标签的替代方案是什么?frameset标签替代的解决办法的详细内容,更多文章请关注木庄网络博客!
返回前面的内容
相关阅读 >>
html5使用canvas压缩图片的示例代码
html5之javascript多线程的详解
html5 canvas中绘制字体与图片以及图形模糊问题解决
html5 output标签是什么意思?html5 output标签的使用方法
html5与传统html的区别,有哪些新增的和废除的元素?
详细介绍html5使用audio标签实现歌词同步的效果
ios加载html5 audio标签时遇到的问题分享
html5的触摸事件
h5里图片中有缝隙应该如何解决
分享一个html5电子杂志翻书特效代码
更多相关阅读请进入《frameset》频道 >>
人民邮电出版社
本书对 Vue.js 3 技术细节的分析非常可靠,对于需要深入理解 Vue.js 3 的用户会有很大的帮助。——尤雨溪,Vue.js作者
转载请注明出处:木庄网络博客 » html5 frameset标签的替代方案是什么?frameset标签替代的解决办法