HTML的footer置于页面最底部的方法
来源:互联网 发布:php 反射类 编辑:程序博客网 时间:2024/05/01 15:34
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>cankaojishu.com</title><style type="text/css">html{height:100%;}body{min-height:100%;margin:0;padding:0;position:relative;}header{background-color: #ffe4c4;}main{padding-bottom:100px;background-color: #bdb76b;}/* main的padding-bottom值要等于或大于footer的height值 */footer{position:absolute;bottom:0;width:100%;height:100px;background-color: #ffc0cb;} </style></head><body> <header>headerer </header> <main>main conten</main> <footer>footer</footer></body></html>
0 0
- HTML的footer置于页面最底部的方法
- HTML的footer置于页面最底部的方法
- HTML的footer置于页面最底部的方法
- HTML的footer置于页面最底部的方法
- HTML的footer置于页面最底部的方法
- footer置于页面最底部
- css让footer始终位于页面的最底部
- 让footer始终位于页面的最底部
- css让footer始终位于页面的最底部
- 将footer固定在页面底部的实现方法
- footer固定在页面底部的几种方法
- HTML添加永远处于底部的footer
- footer 始终位于页面的底部
- 页面主体高度不固定,如何让页面的footer始终在最底部
- 网页内容高度不够时,让footer处于页面底部的方法(不是固定在底部)
- footer至于底部的四种方法
- 页面刷新的时候滚动条默认置于底部
- 怎么使用Sticky Footer代码(让页脚紧贴页面底部的方法)
- C++ primer plus 第八章编程练习
- 常用的HTML标签 sublime快捷键大全
- java 打印对象的原理
- LDA数学原理及优缺点
- #OSG+VS#06第三周
- HTML的footer置于页面最底部的方法
- 2-SAT——CodeForces #400 D
- AppDelegate代理方法
- leetcode35~Search Insert Position
- ZOJ2562:More Divisors(反素数)
- 关系数据库中的三范式
- Request如何取得客户端Ip
- word中文分词
- redo和undo 详解