[英]IE8 Media queries with respond.js works on localhost not on server
I'm trying to add media queries support to IE8 and as stated in the title, respond.js is working on my local machine but not on the server. 我正在尝试向IE8添加媒体查询支持,并且如标题中所述,respond.js正在我的本地计算机上工作但不在服务器上。
Any idea what the problem might be? 知道问题可能是什么?
I have the respond.js on the head, after the link to the CSS.
在链接到CSS之后,我有头部的respond.js。
You should place respond.js
after any inline-CSS as well. 您应该在任何内联CSS之后放置
respond.js
。 A good place to put it would be at the end of body
(or just before the closing html
tag) 把它放在
body
末端的好地方(或者在关闭html
标签之前)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.