用javascript实现兼容IE7的类库 IE7_0_9.zip提供下载
IE7 loads and parses all style sheets into a form that Explorer can understand. You can then use most CSS2/CSS3 selectors without having to resort to CSS hacks.
The lightweight script is a single-line inclusion in your HTML/XML document. No alteration of your original markup is necessary. Neither do you have to alter your CSS.
IE7 provides Microsoft Internet Explorer with support for W3C standard CSS and HTML:
supports the following CSS selectors:
namespace|selector
parent > child
adjacent + sibling
adjacent ~ sibling
[attr], [attr="value"], [attr~="value"] etc
.multiple.classes (fixes bug)
:hover, :active, :focus (for all elements)
:first-child, :last-child, only-child, nth-child, nth-last-child
:check, :disabled, :enabled
:root, :empty, :contains(), :not()
:before/:after/content:
:lang()
works with both HTML and XML documents
supports imported style sheets
preserves the cascade of the style sheet
does not alter the document structure
does not repeatedly query the DOM tree using JavaScript
uses pure CSS to enforce style sheet rules
supports the W3C box model in both standards and quirks mode
supports fixed positioning (flicker free)
supports overflow:visible
supports min/max-width/height
fixes broken (X)HTML elements (abbr, object)
standardies forms behavior
supports PNG alpha transparency
lightweight script (22K)
completely modular (add/remove fixes)
works for Microsoft Internet Explorer 5+ (Windows only)
IE7_0_9.zip下载
相关文章
解决js页面滚动效果scrollTop在FireFox与Chrome浏览器间的兼容问题的方法
这篇文章为大家分享了解决js页面滚动效果scrollTop在FireFox与Chrome浏览器间的兼容问题的方法,感兴趣或者是遇到这种问题的朋友可以参考这篇文章2015-12-12Js使用WScript.Shell对象执行.bat文件和cmd命令
这篇文章主要介绍了Js使用WScript.Shell对象执行.bat文件和cmd命令,需要的朋友可以参考下2014-12-12
最新评论