经典上中(左右)下三栏布局
利用绝对定位实现三栏布局
![在这里插入图片描述](https://img-blog.csdnimg.cn/20190902225250898.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L1dZMTgzMzQ3ODM5MTE=,size_16,color_FFFFFF,t_70)
1、html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>经典上中(左右)下三栏布局</title>
<link rel="stylesheet" type="text/css" href="../css/index.css"/>
</head>
<body>
<div class="container">
<div class="top">
我是顶部
</div>
<div class="content">
<div class="left">
我是菜单区域
</div>
<div class="right">
我是自适应内容区域<br />
我是自适应内容区域<br />
我是自适应内容区域<br />
我是自适应内容区域<br />
我是自适