IE9和位置固定 [英] IE9 and Position Fixed
本文介绍了IE9和位置固定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图使用位置固定css在一个简单的单页网站与垂直滚动,但我面临的问题,IE9,它就像它忽略固定属性,你可以看到这里的网站
I'm trying to use the position fixed css on a simple one page website with vertical scrolling but am facing problems with IE9, it's like it's ignoring the fixed property, you can see the website here
http://cairocubicles.com/sandbox/mahaly-iphone/
查看正确的chrome,firefox。
looks right on chrome, firefox.
欣赏帮助。
Yehia
Appreciate the help. Yehia
推荐答案
尝试添加一个doctype以确保IE9不会陷入怪癖。
Try adding a doctype to make sure IE9 isn't going into quirks.
这篇关于IE9和位置固定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文