<!DOCTYPE html>
<html lang="zh-CN"> <head> <meta charset="utf-8">
<title>position</title>
<style>
html,
body {
height: 100%;
width: 100%;
margin: 0 auto;
padding: 0;
text-align: center;
} .container {
position: relative;
width: 100%;
height: 100%;
background: #FFF0F5;
} .header {
width: 100%;
height: 100px;
line-height: 100px;
position: absolute;
background-color: #FFDAB9;
} .footer {
width: 100%;
height: 100px;
line-height: 100px;
position: absolute;
bottom: 0px;
background-color: #FFFACD;
} .left {
top: 100px;
bottom: 100px;
background-color: #20B2AA;
width: 100px;
position: absolute;
overflow: auto;
} .middle {
top: 100px;
left: 100px;
bottom: 100px;
right: 200px;
background-color: #F0E68C;
position: absolute;
overflow: auto;
} .right {
top: 100px;
right: 0px;
background-color: #708090;
overflow: auto;
position: absolute;
bottom: 100px;
width: 200px;
}
</style>
</head> <body>
<div class="container">
<div class="header">这是顶部</div>
<div class="left" id="left_content">
<script>
for (var i = 1; i <= 500; i++) {
document.getElementById("left_content").innerHTML = document.getElementById("left_content").innerHTML + i.toString() + "<br/>";
}
</script>
</div>
<div class="middle" id="middle_content">
<script>
for (var i = 1; i <= 500; i++) {
document.getElementById("middle_content").innerHTML = document.getElementById("middle_content").innerHTML + (i * 10).toString() + "<br/>";
}
</script>
</div>
<div class="right" id="right_content">
<script>
for (var i = 1; i <= 500; i++) {
document.getElementById("right_content").innerHTML = document.getElementById("right_content").innerHTML + (i * 100).toString() + "<br/>";
}
</script>
</div>
<div class="footer">这是底部</div>
</div> </body> </html>

  

最新文章

  1. [No0000AC]全局鼠标键盘模拟器
  2. StringTemplate初步使用
  3. python - socket - connection
  4. .gitignore的多级目录配置
  5. linux下RDP客户端及服务器
  6. Skyfree的毕业论文 《系统封装与部署的深入研究》
  7. 解决 SQL Server Profiler 跟踪[不断]出现检索数据
  8. Android笔记——导入Github开源项目CircleRefreshLayout
  9. Hanoi塔问题
  10. Unity给力插件之LittleLocalization
  11. 搭建windows环境下(nginx+mysql+php)开发环境
  12. 基于 Koa平台Node.js开发的KoaHub.js的控制器,模型,帮助方法自动加载
  13. MySQL命令(逐步更新ing)
  14. 【网摘】C#中TransactionScope的使用方法和原理
  15. this应用详解-js原生
  16. setTimeout与Promise的区别
  17. python windows安装 SQLServer pymssql,
  18. linux系统下pdf操作软件pdftk
  19. 运行时常量池中的符号引用/String.intern() /ldc指令
  20. [T-ARA][너 때문에 미쳐][因为你而疯了]

热门文章

  1. PAT甲级——【牛客练习题100】
  2. log4j的使用及与mybatis应用
  3. elasticsearch 中文API 基于查询的删除(九)
  4. .net面试问题总结
  5. js时间比较大小,时间加减
  6. Mybatis编写配置文件时,需要注意配置节点的顺序
  7. Python基础——使用with结构打开多个文件
  8. Spring_注解形式的配置
  9. 图像分割中的loss--处理数据极度不均衡的状况
  10. 史上最直接小白式的Sourcetree的分支创建与合并