zoukankan      html  css  js  c++  java
  • Frameset标签

    Frameset标签不能在body中设置。

    <!DOCTYPE html>
    <html>
        <head>
            <title>框架标签</title>
        </head>
        <!--cols表示让这个框架基于横向的方式切分,
        (150,*,150)第一个150表示第一个框架的大小是150
        *表示剩余的部分都是中间的框架
        第二个150表示右边的框架是150
        rows表示基于上中下来布局
        -->
        <!--如果设置了rows和cols,会进行平均切分-->
        <frameset rows="80,*,80" frameborder="1">
        <!--在rows或者cols中分成几部分,就需要多少个frame
        150,*,150分成的三部分,所以需要三个frame-->
            <frame src="01.html" noresize />
            <frame src="07.html" />
            <frame src="02.html" noresize />
        </frameset>
    </html>

    效果:

    <!DOCTYPE html>
    <html>
        <head>
            <title>框架标签</title>
        </head>
        <frameset rows="90,*,90" frameborder="1">
            <frame src="07.html"></frame>
            <frameset cols="150,*">
                <frame src="03.html"></frame>
                <!--在连接的时候增加属性target="content"-->
                <frame src="06.html" name="content"></frame>
            </frameset>
            <frame src="02.html"></frame>
        </frameset>
    </html>

    效果:

  • 相关阅读:
    cocos2dx-基本动画制作
    cocos2dx-CCScrollView的制作
    回调函数的作用
    cocos2dx-Action动作
    cocos2dx-cpptest的结构
    重载函数
    .h和.cpp的用法与区别
    NDK配置之体会
    Cocos2d-x 3.1 内存管理机制
    idea spring boot
  • 原文地址:https://www.cnblogs.com/4everlove/p/3381629.html
Copyright © 2011-2022 走看看