Use JavaScript to implement compatible IE7 class library provide download _javascript tips

Source: Internet
Author: User

IE7 loads and parses all style sheets into a form of that Explorer can understand. You can then use most CSS2/CSS3 selectors without have 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 your have to alter your CSS.

IE7 provides Microsoft Internet Explorer with support for all-for-all standard CSS and HTML:

Supports the following CSS selectors:
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,:d isabled,: 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 "both" box model in 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 in Microsoft Internet Explorer 5+ (Windows only) Download

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.