banner固定在浏览器窗口的底部
2012-09-04 17:06
183 查看
<!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>无标题文档</title> <style type="text/css"> <!-- .content{ width:1004px; height:2000px;} #bottomNav { width:100%; height:198px; margin:0px auto; display: inline;position:fixed;bottom:0;left:0; _position:absolute; /* for IE6 */_font-size:0px; _top: expression(documentElement.scrollTop + documentElement.clientHeight-this.offsetHeight); /* for IE6 */ overflow:visible; z-index:999;} .imgContent{ width:1004px; height:198px; margin:0px auto;} --> </style> </head> <body> <div class="content"> 阿萨德撒打算撒 </div> <div id="bottomNav"> <div class="imgContent"> <img src="bottom_bar.png" width="1004" height="198" alt="斯蒂芬森的" /> </div> </div> </body> </html>
相关文章推荐
- 让DIV固定在窗口的底部,不随浏览器滚动
- 固定层在浏览器底部
- js 固定某个div在浏览器窗口的位置
- 纯CSS打造兼容各大浏览器的底部固定悬浮导航
- 固定在浏览器底部
- 固定一个div在浏览器底部
- 使footer固定在浏览器底部
- 网站设计:将Footer固定在浏览器底部
- 导航固定在浏览器窗口的固定位置
- 如何将网页底部始终固定在页面底部而不是浏览器底部
- ie中div设置底部固定后,不随着浏览器的分辨率变化而出现div位置的变动
- 【CSS】三列布局(左右div固定宽度,中间div随浏览器窗口自适应变化宽度)
- 顶部固定显示;某模块的标题栏在滚动时固定显示;到底部时显示底部banner;回到顶部。4个效果
- 三列布局,左右宽度固定,中间一列随浏览器窗口变化宽度
- Android任意窗口添加固定/浮动窗体:音乐播放器底部/顶部常驻播放窗体
- 4_如何固定标签,相对于浏览器窗口和一个标签?
- "把一个div标签,给它的属性设置position: fixed;bottom:0;固定在浏览器的最底部。 这个div标签在浏览器上下滚动的时候,会一直保持在屏幕最底部,这一点没有问题。但问题是当浏览
- css控制div固定在浏览器底部
- CSS控制DIV层固定在浏览器底部
- 让页面目标元素 “固定” 在浏览器窗口的顶部 stickUp+jQuery.pin 插件 使用 单页导航