任何JavaScript库,使CSS3 / HTML5网站在所有浏览器,包括IE6-8? [英] Any JavaScript Library that makes CSS3/HTML5 website work on all browsers, including IE6-8?

查看:95
本文介绍了任何JavaScript库,使CSS3 / HTML5网站在所有浏览器,包括IE6-8?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有任何JavaScript库使 CSS3 / HTML5 网站在所有浏览器(包括IE6-8)上正常工作?



最新 eCSStener Modernizr 不会使 CSS3 工作 IE6-8

解决方案

p>

CSS 3和HTML 5(两者都还没有完成)使一些事情变得更容易,一些事情是不可能的。



您已经找到了库来模拟可能更容易的位,但是你不会使用JavaScript库来实现不可能。 HTML 4 / DOM 1/2/3 / CSS 2.1根本不提供存储大量会话之间的数据运行后台进程以及大量其他内容。



有些事情可以模拟,但不是没有副作用。例如,您可以复制文本并使用定位来伪造 text-shadow ,但屏幕阅读器会读取两次内容。



您需要非常仔细地考虑您需要什么新技术,并根据渐进增强的原则构建您的网页。


Is there any JavaScript Library that makes CSS3/HTML5 website fully work on all browsers, including IE6-8?

Latest eCSStener and Modernizr does not make CSS3 work on IE6-8.

解决方案

No.

CSS 3 and HTML 5 (neither of which is even finished yet) make some things that are possible easier and some things that are impossible possible.

You've already found libraries to simulate the bits that make the possible easier, but you aren't going to make the impossible possible using a JavaScript library. HTML 4 / DOM 1/2/3 / CSS 2.1 simply don't provide methods to store large amounts of data between sessions, run background processes, and a host of other things.

Some things could be simulated, but not without side effects. For example, you could duplicate text and use positioning to fake text-shadow, but then screenreaders would read out the content twice.

You need to think very carefully about what new technologies you want, and build your pages according to the principles of progressive enhancement.

这篇关于任何JavaScript库,使CSS3 / HTML5网站在所有浏览器,包括IE6-8?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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