Internet Explorer 8兼容性问题 [英] Internet Explorer 8 compatibility issues
问题描述
我是一个相对的noob在优美的降级,并想要一些网站上的提示,刚刚上线。我知道在这一点上,布局在IE 8或更低版本中完全崩溃,并希望看到我能做多少工作,而不需要大规模的检修。
I am a relative noob at graceful degredation, and wanted some tips on a site that just went live. I know that at this point the layout is completely broken in IE 8 or lower, and wanted to see how much I could do to make things work without a massive overhaul.
www.unccti.org
www.unccti.org
例如,在IE 8上,它看起来像:
On IE 8, for example, it looks like:
http://unccti.org/unc-cti-ie8.png
它应该看起来像:
http://unccti.org/unc-cti-modern.png
主要问题是内容完全无法辨认在旧的浏览器上,有些用户实际上错误地认为这是该网站的目的是为了被视为时尚。我已经包括一个脚本通知用户,当他们的浏览器已过期,但我想要至少看看我是否可以得到这个温和的功能在IE8。我假设7是一个失败的原因。
The main issue is that the content is completely illegible on older browsers, and some users have actually mistakenly believed this is how the site was intended to look in order to be perceived as 'stylish.' I have included a script to notify users when their browser is out of date, but I want to at least see if I can get this mildly functional on IE8. I am assuming 7 is a lost cause.
我已经尝试了但没有结果:
What I have tried in addition but without results:
- normalize.css和
- HTML5Shiv
感谢您的帮助。
推荐答案
很难处理 IE8
IE8
的方法,你的网站布局很简单。
Its not much hard to tackle IE8
there are lots of ways to achieve a decent look for IE8
moreover, your website layout is quite simple to get it done.
看到两个问题,使网站看起来不好在 IE8
I see two Issues which are making website look bad in IE8
1)一些 html5
标签
2)一些 CSS3
属性
您的网站;
<!--[if lt IE 8]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
我希望网站在IE8中看起来更好。此外,您可以为IE8添加自定义样式表,并可以在这方面做得更好;
I hope website will look much better in IE8. Moreover, you can add a custom stylesheet for IE8 and can make things good in that;
<!--[if lt IE 8]>
<link href="css/for-ie8-only.css" rel="stylesheet">
<![endif]-->
最后但不是最少我建议使用 Modernizer 。如果您使用 html5 / css3
。
Last but not the least i recommend to use Modernizer. If you are using html5/css3
.
您可以检查 HTML5& CSS3支持(在不同的浏览器中)支持哪个浏览器。
You can check HTML5 & CSS3 Support (In different browsers) to what is supported in which browser.
与您的相关问题如下。
如何使css3和html5兼容网站的所有浏览器,包括IE7和更高版本
祝你好运!
这篇关于Internet Explorer 8兼容性问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!