简体   繁体   English

Internet Explorer 8 HTML5元素的样式不正确

[英]Internet Explorer 8 HTML5 elements not being styled properly

I have a problem with my website in Internet Explorer 8, it doesn't happen in the version I have personally, but my friend tried it and showed me a screenshot. 我在Internet Explorer 8中的网站出现问题,在我个人使用的版本中没有发生,但是我的朋友尝试了一下并显示了屏幕截图。

http://puu.sh/6CM4c.jpg

The website is www.mikkeljohannsen.com and you're able to see the code and everything on there too of course, so I'm guessing it'll just be easier that way. 该网站为www.mikkeljohannsen.com,您当然也可以看到代码和其中的所有内容,所以我想这样会更容易。

Internet Explorer 8 doesn't support many HTML5 elements like article , section and so on. Internet Explorer 8不支持许多HTML5元素,例如articlesection等。 You need to look at using something like Modernizr which uses Javascript to emulate HTML5 elements in browsers that don't support them. 您需要查看使用类似Modernizr的工具 ,该工具使用Javascript在不支持HTML5的浏览器中模拟HTML5元素。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM