IE6 重绘bug
2012-03-07 11:05
134 查看
<!DOCTYPE HTML> <html> <head> <link href="http://a.tbcdn.cn/??tbsp/tbsp.css" rel="stylesheet"> <style type="text/css"> li { width:300px; height:30px; } li.fuck { position:fixed;/*IE6下 fixed定位的结点会阻止他以及他以后的块级结点发生重绘*/ } </style> </head> <body> <ul> <li style="background:green;" id="first" >1111111111111111111111</li> <li style="background:red;" class="fuck" >222222222222</li> <li style="background:yellow;">333333333333</li> <li style="background:#aaa;display:inline;zoom:1">4444444444444444444444444</li> <li style="background:#999;display:inline">5555555555555555</li> </ul> <script> document.onclick = function () { document.getElementById('first').style.height = '400px'; } </script> </body> </html>
IE6下 fixed定位的有haslayout结点会阻止他以及他以后的haslayout结点发生reflow
相关文章推荐
- IE6下使用滤镜后链接无法点击的BUG
- 项目layer弹出框在IE6出项BUG,双倍浮动
- IE6兼容性问题及IE6常见bug详细汇总
- IE6 常见的CSS解析Bug以及Hack
- IE6双边距bug及其解决办法
- 使用zoom解决IE6 margin无效BUG
- IE6中有一个BUG叫border边框断线现象(border边框部分消失)
- IE6下的文字溢出BUG
- JavaScript创建Checkbox,IE6一个弱智bug对代码的影响
- 【css】ie6 中 li 插入图片后下方有空隙 bug
- ie6 重复字符BUG问题的简单解决方法
- IE6的bug
- IE6文字溢出Bug:多出一只猪
- ie6,ie7,ie8 css bug兼容解决记录
- DIV+CSS页面设计中的IE6的文字溢出BUG
- IE的CSS Bug列表(IE6,IE7和IE8)
- IE6下position:fiexd的BUG处理方法
- frameset, iframe, frame框架页面在IE6中出现横向滚动条bug的隐藏方法
- IE6中绝对定位的BUG
- IE6下常见的bug 调整页面兼容性