position:fixed breaks in IE9

前端 未结 2 1817
被撕碎了的回忆
被撕碎了的回忆 2020-12-19 08:09

I have a site that heavily utilizes jQuery and CSS to achieve some pretty nice effects. The pages work flawlessly in FF and Chrome - however in IE9 (and possibly other versi

2条回答
  •  借酒劲吻你
    2020-12-19 08:48

    If it works in other browsers and doesn't work at all in IE I would suspect at first that IE doesn't render your pages in strict mode.

    Fixed positioning in IE works only for strict mode.

    See details on MSDN.

提交回复
热议问题