关于html很简单的问题,html中两行两列的框架代码怎么写啊我写成下面的那种形式却显示 把顶行分成了两列

关于html很简单的问题,html中两行两列的框架代码怎么写啊我写成下面的那种形式却显示 把顶行分成了两列,第1张

frameset 元素可定义一个框架集。它被用来组织多个窗口(框架)。每个框架存有独立的文档。在其最简单的应用中,frameset 元素仅仅会规定在框架集中存在多少列或多少行。您必须使用 cols 或 rows 属性。

<frameset cols="25%,50%,25%">

<frame src="frame_a.htm" />

<frame src="frame_b.htm" />

<frame src="frame_c.htm" />

</frameset>

<frame>标签定义 frameset 中的一个特定的窗口(框架)。

<html lang="zh-cn"></html lang="zh-cn">

 

    <meta charset="utf-8"></meta charset="utf-8">

    <title>Document</title>

    <style type="text css"=""></style type="text>

        .one{

            width: 500px

            height: 500px

            margin: 0 auto

            border: 1px solid red

            position: relative

        }

        .two{

            width: 200px

            height: 200px

            position: absolute

            border: 1px solid blue

            right: 0

            top: 0

        }

        .three{

            width: 200px

            height: 200px

            position: absolute

            border: 1px solid blue

            right: 0

            bottom: 0

        }

     

 

 

    <div class="one"></div class="one">

        <div class="two">呵呵  百度不知道</div class="two">

        <div class="three">哈哈   <a href="https://www.baidu.com/s?wd=%E7%99%BE%E5%BA%A6%E7%9F%A5%E9%81%93&tn=44039180_cpr&fenlei=mv6quAkxTZn0IZRqIHckPjm4nH00T1Y4uWTvuhfsmhFBnW0zP1FW0ZwV5Hcvrjm3rH6sPfKWUMw85HfYnjn4nH6sgvPsT6K1TL0qnfK1TL0z5HD0IgF_5y9YIZ0lQzqlpA-bmyt8mh7GuZR8mvqVQL7dugPYpyq8Q1mYrjc1P1fYrjDsnHRzPHTvPf" target="_blank" class="baidu-highlight">百度知道</a></div class="three">

     

 

 

 

自己调试玩玩就懂了

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta http-equiv="X-UA-Compatible" content="ie=edge">

<title>Document</title>

</head>

<body>

</body>

</html>


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zaji/7266250.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-04-03
下一篇2023-04-03

发表评论

登录后才能评论

评论列表(0条)

    保存