Page is a not externally linkable
- Code, Content, and Presentation
-- HTML
---- How to kill legacy IE versions


Solution1 - 10:13 am on Feb 15, 2010 (gmt 0)


Dean Edwards' IE7 javascript file makes it possible to ignore IE6 while developing, while your pages are still viewable by IE6 users. It modifies the IE6's CSS behavior to W3C standards. You just include it in your webpages with conditional comments:

<!-- compliance patch for microsoft browsers -->
<!--[if lt IE 7]>
<script src="/ie7/ie7-standard-p.js" type="text/javascript">
</script>
<![endif]-->



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

* supports the following CSS selectors:
o namespace|selector
o parent > child
o adjacent + sibling
o adjacent ~ sibling
o [attr], [attr="value"], [attr~="value"] etc
o .multiple.classes (fixes bug)
o :hover, :active, :focus (for all elements)
o :first-child, :last-child, only-child, nth-child, nth-last-child
o :check, :disabled, :enabled
o :root, :empty, :contains(), :not()
o :before/:after/content:
o :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)


Thread source:: http://www.webmasterworld.com/html/4073811.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com