用javascript实现兼容IE7的类库 IE7_0_9.zip提供下载
用javascript实现兼容IE7的类库 IE7_0_9.zip提供下载
发布时间:2016-12-30 来源:查字典编辑
摘要:IE7loadsandparsesallstylesheetsintoaformthatExplorercanunderstand.Youc...

IE7loadsandparsesallstylesheetsintoaformthatExplorercanunderstand.YoucanthenusemostCSS2/CSS3selectorswithouthavingtoresorttoCSShacks.

Thelightweightscriptisasingle-lineinclusioninyourHTML/XMLdocument.Noalterationofyouroriginalmarkupisnecessary.NeitherdoyouhavetoalteryourCSS.

IE7providesMicrosoftInternetExplorerwithsupportforW3CstandardCSSandHTML:

supportsthefollowingCSSselectors:

namespace|selector

parent>child

adjacent+sibling

adjacent~sibling

[attr],[attr="value"],[attr~="value"]etc

.multiple.classes(fixesbug)

:hover,:active,:focus(forallelements)

:first-child,:last-child,only-child,nth-child,nth-last-child

:check,:disabled,:enabled

:root,:empty,:contains(),:not()

:before/:after/content:

:lang()

workswithbothHTMLandXMLdocuments

supportsimportedstylesheets

preservesthecascadeofthestylesheet

doesnotalterthedocumentstructure

doesnotrepeatedlyquerytheDOMtreeusingJavaScript

usespureCSStoenforcestylesheetrules

supportstheW3Cboxmodelinbothstandardsandquirksmode

supportsfixedpositioning(flickerfree)

supportsoverflow:visible

supportsmin/max-width/height

fixesbroken(X)HTMLelements(abbr,object)

standardiesformsbehavior

supportsPNGalphatransparency

lightweightscript(22K)

completelymodular(add/removefixes)

worksforMicrosoftInternetExplorer5+(Windowsonly)

IE7_0_9.zip下载

推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
相关阅读
网友关注
最新Javascript教程学习
热门Javascript教程学习
编程开发子分类