欢迎来到福编程网,本站提供各种互联网专业知识!

用javascript实现兼容IE7的类库 IE7_0_9.zip提供下载

发布时间:2007-08-08 作者: 来源:转载
IE7loadsandparsesallstylesheetsintoaformthatExplorercanunderstand.YoucanthenusemostCSS2/CSS3selectorswithouthavingtoresorttoCSShacks.Thelightweightscriptisasingle-lineinclusioninyourHTML/XMLdocument.Noalterationofyouroriginalma

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下载

相关推荐