IE6/7 and IE8/9/10(IE7模式)依次隐藏具有absolute或relative的父元素和子元素后再显示父元素,子元素依然能显示bug
<script> <BR>var d1 = document.getElementById('d1'); <BR>var d2 = document.getElementById('d2'); <BR>function hidden_d1() { <BR>d1.style.display = "none"; <BR>} <BR>function hidden_d2() { <BR>d2.style.display = "none"; <BR>} <BR>function display_d1() { <BR>d1.style.display = "block"; <BR>} <BR></script>