responsive website issue in IE7 and IE8

*爱你&永不变心* 提交于 2019-12-12 02:56:40

问题


I am trying to make a standard site responsive. So far it works in IE9, Firefox and Chrome, but it fails in IE7 and IE8 even with inline hacks:

http://surfingthebluemarble.com/rtest2.html

What is happening is that in IE7 and IE8 the divs fail to stack when they go to 99% width.

Thanks as always for your help.

umbre


回答1:


You're using CSS media queries, which don't work in older versions of IE.

You need respond.js.




回答2:


IE Less than 9 doesn't support media queries out of the box.

use an extension like css3-mediaqueries-js or Respond. https://code.google.com/p/css3-mediaqueries-js/



来源:https://stackoverflow.com/questions/10387569/responsive-website-issue-in-ie7-and-ie8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!