position:fixed将触发display:block? [英] the position:fixed will trigger the display:block?
本文介绍了position:fixed将触发display:block?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在chrome或Firefox上运行时进行了测试,但在
上除外position:fixed将触发display:block?
这是测试html: http://sking7.github.com/fix.html
该代码将发出两次警报,第一次是显示,第二次是document.compatMode
这为什么?
w3c曾说过这个话?
i tested ,when running on chrome or firefox, except on ie,
the position:fixed will trigger the display:block?
this the test html :http://sking7.github.com/fix.html
the code will alert two times,the first is display ,the second is document.compatMode
this why?
the w3c has said this ?
推荐答案
查看全文