div 滚动条
来源:互联网 发布:杨幂原视频源码13分钟 编辑:程序博客网 时间:2024/05/05 01:22
方法1
固定高度:
<div id="oDiv" style="height:490px; position: absolute; width:97%; top: opx; margin-right: 10px; padding: 5px; overflow: scroll;zoom:100%;"></div>
动态高度 height: expression(this.ownerDocument.body.offsetHeight - this.offsetTop-10); 但是要去掉w3c声明 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
方法2
<div id="oDiv"></div>
#oDiv {
scrollbar-face-color: #6699cc;
scrollbar-highlight-color: #0099ff;
scrollbar-3dlight-color: #99ccff;
scrollbar-darkshadow-color: #000000;
scrollbar-shadow-color: #006699;
scrollbar-arrow-color: #ffffff;
scrollbar-track-color: #FFFFFF;
height: 88%;
z-index: 3;
left: expression(this.parentElement.offsetWidth - 5);
float: left;
position: absolute;
width: 97%;
top: opx;
margin-right: 10px;
padding: 5px;
overflow: scroll;
zoom: 100%;
}
自适应
- div 滚动条
- Div滚动条样式
- DIV滚动条设置
- DIV滚动条
- DIV滚动条使用方法
- DIV的滚动条,
- DIV实现滚动条
- div滚动条颜色
- DIV滚动条
- div 做滚动条
- DIV滚动条显示
- div设置滚动条
- DIV滚动条
- div的滚动条
- div滚动条
- div 滚动条
- DIV滚动条
- div带滚动条
- Effective C++ 第10条:让赋值运算符返回一个指向*this的引用
- 基于深度优先搜索的回溯算法(递归剪枝及奇偶性剪枝好题!):HDOJ 1010 - Tempter of the Bone
- 视图间通信
- jsp里对excel数据进行查询操作
- Linux内核spin_lock与spin_lock_irq分析
- div 滚动条
- unix文件操作命令
- linux命令选项的单双连字符('-'和'--')使用上的区别
- Mac OS X的[内存]:wired, active, inactive和free
- Apache Commons Lang 包 字符 转码
- myeclipse中struts.xml智能提示
- 嵌入式环境搭建之ubuntu11.04
- 如何在freemarker模板里面使用struts2的标签
- 黄金周