当前位置:网站首页>ie7设置overflow属性失效解决方法
ie7设置overflow属性失效解决方法
2022-07-26 09:25:00 【乌云乌云_快走开】
在项目中遇到 IE7 浏览器设置 overflow:hidden , overflow: auto; 都无效 !
父元素设置固定宽高属性并加 overflow属性 (意图使超出部分能够隐藏或者滚动), 子元素设置了position:relative 或position:absolute属性 ,ie7浏览器下超出父元素的子元素区域部分不能被隐藏掉!
解决方法:
给元素也加上position:relative属性
overflow-y: auto;
overflow-x: hidden;
*position:relative;
*left:0;
*top:0;
边栏推荐
- PMM(Percona Monitoring and Management )安装记录
- Stm32+mfrc522 completes IC card number reading, password modification, data reading and writing
- Bloom filter
- Implementation of fragment lazy loading after multi-layer nesting
- MySQL transaction
- The provincial government held a teleconference on safety precautions against high temperature weather across the province
- OFDM 十六讲- OFDM
- 【Flutter -- 布局】Align、Center、Padding 使用详解
- 异常处理机制二
- 解决“NOTE: One or more layouts are missing the layout_width or layout_height attributes.”
猜你喜欢

Source code analysis of object wait notify notifyAll

Object 的Wait Notify NotifyAll 源码解析

js中树与数组的相互转化(树的子节点若为空隐藏children字段)

arcgis的基本使用4

Windows下Redis哨兵模式搭建
![[online problem] timeout waiting for connection from pool problem troubleshooting](/img/f0/7e8444ed7d0921b98d5e998e274bc8.png)
[online problem] timeout waiting for connection from pool problem troubleshooting
![[MySQL] detailed explanation of redo log, undo log and binlog (4)](/img/67/6e646040c1b941c270b3efff74e94d.png)
[MySQL] detailed explanation of redo log, undo log and binlog (4)

Bloom filter

STM32+MFRC522完成IC卡号读取、密码修改、数据读写

您的登录IP不在管理员配置的登录掩码范围内
随机推荐
2022 chemical automation control instrument operation certificate test question simulation test platform operation
What are CSDN spaces represented by
微信小程序开发
phpexcel导出emoji符号报错
JVM command induction
登录模块用例编写
Cat installation and use
2022 mobile crane driver test question simulation test question bank simulation test platform operation
您的登录IP不在管理员配置的登录掩码范围内
MySQL transaction
字节缓冲流&字符流详解
Windows backs up the database locally by command
Does volatile rely on the MESI protocol to solve the visibility problem? (next)
简单行人重识别代码到88%准确率 郑哲东 准备工作
Thread Join 和Object wait 的区别
【Flutter -- 布局】Align、Center、Padding 使用详解
[MySQL] understand the important architecture of MySQL (I)
keepalived 实现mysql自动故障切换
Mysql事务
2022 Shanghai safety officer C certificate examination questions and mock examination