IE中的响应式设计问题 [英] responsive design issue in IE
本文介绍了IE中的响应式设计问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
HI,
我正在使用css3-mediaqueries.js在我的网站上启用响应式设计。
配置IIS后,如果我使用localhost浏览网站一切正常,但如果我使用我的机器名访问网站,设计就会崩溃。
这是怎么回事我使用css3-mediaqueries.js
i'm using css3-mediaqueries.js to enable responsive design in my web site.
after configuring IIS, if i use localhost to browse the site everything is working fine but if i use my machine name to access the web site, design is getting collapsed.
this is how i use css3-mediaqueries.js
<body>
<!-- css3-mediaqueries.js for IE less than 9 -->
<!--[if lt IE 9]>
<script src="http://sankar/css3-mediaqueries.js"></script>
<![endif]-->
请帮我解决这个问题。
please help me to fix this.
推荐答案
确保css正确加载。
css样式需要使用relative urls /
Ensure the css is loading correctly.
The css styles need to be linked using the relative urls/
这篇关于IE中的响应式设计问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文