zoukankan
html css js c++ java
[DIV+CSS] IE6浮出层穿透解决方案中的iframe高度自适应
IE6下浮出层常会
需要
增加
一个
ifram
e来
解决
浮出层被Obj穿透的
问题
,
这个
是
目前
最
有效
的
方案
,不过
这个
方案
本身有个缺陷,就是
ifram
e的高度不能自适应。
也许你会觉得,给
ifram
e定个100%高度不就可以了?很可惜并不能
解决
这个
问题
。
有
一个
解决
的
方案
是用脚本取得浮出层的高度再赋给
ifram
e,缺点很明显,就是
需要
脚本支持、消耗更多的系统资源。
现在提供另
一个
解决
方案
:
<!–[if IE 6]>
<
ifram
e frameBorder="0" style="position:absolute;left:0;top:0;100%;z-index:-1;filter:Alpha(Opacity=0);border:solid;"></
ifram
e>
<![endif]–>
复制代码
注意:不能给
ifram
e定义百分比高度。
查看全文
相关阅读:
jmeter之如何减负-实现稳定超高并发测试(性能调优)之正确添加监听器
正则表达式批量处理数据
Jmeter计数器实现自增功能
Python自动化 unittest生成测试报告(HTMLTestRunner)03
[leetcode 14]Longest Common Prfix
[leetcode 13]Roman to integer
[leetcode 12] Inter to Roman
[leetcode 11]Container With Most Water
[eetcode 10]Regular Expression Matching
[leetcode 9]Palindrome Number
原文地址:https://www.cnblogs.com/buffer/p/2049916.html
最新文章
2017.3.13上午
2017.3.10下午学习内容
2017.3.10上午学习内容
4.6上午
3.29上午
3.28上午
3.27下午
2017.4.21-morning
2017.4.20-afternoon
2017.4.20-morning
热门文章
2017.4.19-afternoon
2017.4.18-afternoon
2017.4.19-morning
2017.4.18-morning
2017.4.17-afternoon
2017.4.17-morning
2017.4.14-afternoon
常用工具Makefile,GDB和Shell
Linux常用命令整理
Jmeter压测场景及结果分析
Copyright © 2011-2022 走看看