页面布局 --- 三列自适应布局
来源:互联网 发布:greenvpn网络加速器 编辑:程序博客网 时间:2024/06/16 09:05
<!doctype html> <html> <head> <meta charset="UTF-8"> <title>HTML5 Example</title> <style type="text/css"> body { margin:50px; min-width:950px; } #left{ background:#16A085; width:350px; height:500px; } #main{ background:#1ABC9C; width:100%; } #right{ background:#14856D; width:250px; height:500px; } .col{ float:left; height:500px; } #left{ margin-left:-100%; position: relative; right:350px; } #right{ margin-right: -250px; } #container{ padding-left: 350px; padding-right: 250px; } .col{ color:#FFF; font-family:Georgia, "Times New Roman", Times, serif; font-size:23px; line-height:1.5; padding:30px 50px; box-sizing:border-box; } .col img{ float:left; margin:20px; } </style> </head> <body> <div id="container"> <div id="main" class="col"> <img src="star.png"> <p>Ramalinga as usual was walking into the Bhuvana Vijayam premises and the guards stopped him. He questioned why were they blocking the way. The soldiers told Ramalinga about the line and asked him to enter the premises only after reciting the first three lines for the last line they recited to him. Ramalinga boiled and trembled with anger on those soldiers.</p> </div> <div id="left" class="col"> <img src="drink.png"> <p>Long before guards could understand the meaning of the poem, Ramalinga walked stiff into the main court hall. This state of affairs brought Ramalinga more close to Rayalu.</p> </div> <div id="right" class="col"> <img src="closed.png"> <p>Rayalu clapped in all praise of Ramalinga for his ingenuity and wit filled narration.</p> </div> </div> </body> </html>
阅读全文
0 0
- 页面布局 --- 三列自适应布局
- 页面布局 --- 两列自适应布局
- CSS三列自适应布局
- CSS三列自适应布局
- Css三列自适应布局
- 三列布局中间列宽度自适应
- 两列或三列自适应布局
- 两列自适应和三列自适应布局
- CSS三列高度自适应布局
- CSS之三列自适应布局
- 中间自适应的三列布局
- 三列布局-左右固定,中间自适应
- css布局之三列布局中间自适应
- 三列自适应布局:左右定宽,中间自适应
- 多列自适应布局
- 两列自适应布局
- 两列自适应布局
- 自适应多列布局
- Java学习笔记(7)
- 15.4.1 处理流的用法
- 排序算法@c++描述-插入排序
- EPUB是什么格式?PDF如何转换成EPUB格式?
- 算法爱好者——132模式 ? 待解决
- 页面布局 --- 三列自适应布局
- oracle查看数据库当前连接数
- 离散数学复习笔记-1
- 防坑:Mac VMware Fusion 下 windows 10虚拟机,在任何地方双击弹出开始菜单
- 工厂模式
- 欢迎使用CSDN-markdown编辑器
- Rxjava基本demo
- 被解救的Django【1】
- Python Imaging Library: ImageMath Module(图像数学运算模块)