IE7和IE8中的响应式网站问题 [英] responsive website issue in IE7 and IE8

查看:103
本文介绍了IE7和IE8中的响应式网站问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在努力使标准网站响应。到目前为止,它适用于IE9,Firefox和Chrome,但它在IE7和IE8中都失败了,即使是内联黑客也是如此:

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

在IE7和IE8中发生了什么当div达到99%的宽度时,div不能叠加。

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

推荐答案

您正在使用CSS媒体查询,这些查询在旧版本的IE中无效。

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

您需要 respond.js

这篇关于IE7和IE8中的响应式网站问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆