The new home of the IE7 project is:

You do not need to include IE7.js if you are using IE8.js.

To upgrade MSIE5-7 with advanced CSS features missing from MSIE7 use the following:

To upgrade MSIE5-6 to MSIE7 include the following in the <head> of your page:

You can link directly to the files on google:

I’ve made some important changes to the script which I’ll now outline.

IE7 was in alpha for a long time. The last version was very stable but I always intended to issue a serious update. The release of the real IE7 browser threw me off course a little and then I got bogged down with base2 .

Comments (210)

Leave a comment

Comment: #1 dean 的 IE7 Library 釋出新版… dean 的 IE7 Library 釋出新版 這次從 0.9 直接跳到 2.0 beta ，而且拆成了 IE7.js 和 IE8.js 兩個部份。 IE7.js 把功能只精簡到微軟正牌 IE7 有實作的部份，其他加強的部份就移到 IE8.js 上了 (…

Comment: #2 Nice man, thanks a lot!

Comment: #3 excellent idea with the “hotlinking thing” from a google server that reduce some traffic and i think google servers are one of the most avaible servers on the net. anyway: great job!

Comment: #4 Good job, but are you sure that Google allows direct links? No one wants its sites broken after a policy change…

Comment: #5 […] Dean Edwards does a magnificent job and releases IE7 2.0 (a set of javascripts which addresses (most of?) the CSS issues in IE7). Next to the merging into 1 file, the most important change is that “IE7.js includes only fixes that are included in the real MSIE7 browser; All other enhancements are moved to IE8.js.” which is more than ingenious imo! Spread the word! […]

Comment: #6 Very nice work Dean! Kudos!

Comment: #7 I’d be really interested to hear why you got fed up with Sourceforge. I host a project with them and am starting to think that wasn’t a smart move on my part.

Comment: #8 Do the google links also work with the https protocol ? Seems not : it wants a username and password.

Comment: #9 @David – I have permission from Google to source my code from their servers. From a Google employee: We (the Google Code team) are fine with this, as long as everything is appropriately open source licensed.

Comment: #10 I’d be really interested to hear why you got fed up with Sourceforge. Lots of little things really. The occasional email failure, no emails for ages then suddenly they all come at once. This made me look unresponsive on the mailing list. But mostly I just hated the SourceForge interface. It is horribly complicated and slow. I much prefer googlecode.

Comment: #11 IE7 2.0 测试版发布… IE的众多CSS错误实现及各种显示bug被众Web开发人员怨念了无数遍，除了CSS hack与复杂的跨浏览器JS代码库外，我们有了更优秀的解决方案——Dean Edwards的IE7代码库。使用该方案有极佳的兼容性—…

Comment: #12 Thanks a lot Dean!

Comment: #13 […] I just stumbled on this, bookmarking for later review… but Dean Edwards has upgraded his IE7.js to version 2.0 (beta). Now available on googlecode. In a nutshell, IE7 is a JavaScript library to make Internet Explorer behave like a “standards-compliant browser”, fixing CSS issues and makes transparent PNG work correctly under IE5 and IE6. It appears to “fix up” IE6 close to how IE7 (an improvement) operates. […]

Comment: #14 This is so brilliant. It appears that IE8.js is a superset of IE7.js, so my first instinct is to always include IE8.js and not worry about IE7.js ? Would you recommend so? In other words, under which circumstances should I include IE7.js and not IE8.js?

Comment: #15 @Kevin – IE8.js adds lots of fixes that are not in MSIE7. Some of these fixes are not included in other browsers either (e.g. :nth-child() ). So if you are happy with MSIE7 as a base line then you should use IE7.js. Because you are using conditional comments then MSIE7 does not bother to download the IE7.js script. This will result in faster page loads for all browsers other than MSIE5/6.

Comment: #16 This is great, thx! I used the last alpha version in my last project and I’m glad to see version 2 beta out now!

Comment: #17 This is really quite fantastic. Great work. Unfortunately I doubt I’ll be able to use it on the majority of my sites. On larger pages this just slows down the page load to a crawl (IE6) and I’m experiencing a good 2-4 second delay where the browser just locks up.

Comment: #18 @Andrew – can you please post a link to one of the larger pages that is slowing down so noticeably? It might be something I can fix.

Comment: #19 […] Deans Edwards vient de mettre � jour sa librairie javascript IE7 qui permet notamment de transformer le navigateur de microsoft en un navigateur respectant les standards web. Cette dernière permet de résoudre les problèmes liés au CSS et � la transparence des fichiers PNG sous IE5 et IE6. […]

Comment: #20 […] Mit der IE7 JavaScript Library kann man dem MSIE die standardkonforme Darstellung von Webseiten beibringen. Der Internet Explorer lernt also ein bisschen HTML und CSS und dazu noch die korrekte Alphakanaldarstellung von PNG-24 Dateien. (Also transparente PNG Grafiken) Das ist meines Erachtens die derzeit beste Allroundkur für den Internet Explorer. (Siehe auch den Artikel der Webkrauts zu Transparentzeffekten mit PNG-24 und CSS für Anregungen… ) Der Autor Dean Edwards liefert eine Demo Site und eine Google Support Gruppe mit. Das Projekt steht unter der OpenSource Lizense MIT. […]

Comment: #21 I just had a look to your test pages and it is amazing! IE works really like a standard-compliant browser! billion thx for this great work, I think it’ll help me a lot and saves much time, I’m so happy!

Comment: #22 […] More info on the webpage of the developer Posted by Dirk Filed in Cool Tools, Developer’s Dream […]

Comment: #23 […] Now the IE7 browser itself has come out, Dean has updated his library to make sense in the new world, resulting in the new IE7.js 2.0 release which features: […]

Comment: #24 Nice work Dean! I have though a small remark/question. The first-child pseudo class works pretty well when the css declarations is in a style block inside the page. When I put the css declarations in an external css file, the fix is not applied. (IE6 XP SP2). Is this the proper behavior?

Comment: #25 […] Dean Edwards vient de mettre � jour son célèbre script IE7.js, permettant de corriger un paquet de limitations CSS / HTML sur notre navigateur préféré : Internet Explorer. […]

Comment: #26 […] Pronto, agora é só usar nos seus novos sites e reduzir a queda de cabelo por causa do IE. Mas antes, dê uma passadinha lá nos site do projeto, da atualização 2.0 e do google code onde está hospedado e veja as formas corretas de usar. Depois diga aqui suas experiências (boas ou ruins) com o script . […]

Comment: #27 […] la versión 2.0 el IE7.js, un script que nos permite corregir una serie de problemas con los CSS’s entre ellos el problema con los PNG transparentes. Podemos usarlo directamente desde losde Google. [Demo][Descargar] Compártelo # « Nuevos tipos de enlaces para elHTML5 […]

Comment: #28 […] Via Ajaxian. Dean Edwards hat seine IE7 Javascript Bibliothek zur Beta Version 2.0 umgebaut. Einige Features wurden komplett entfernt. Hier eine Übersicht: […]

Comment: #29 I have tried to use the IE7 script on my site but can’t seem to get it to work :-/ If anyone can see what I’m doing wrong i would be very grateful http://kimmathiasen.dk/new/?page_id=

Comment: #30 This is nice, though I’ve found some bugs here and there. but what troubles me is that it’s no use for AJAX based site/apps, because the DOM is built in a later time and theres no “rebind” for the IE fix..

Comment: #31 […] IE7.js: awesome Javascript library to make IE5-IE7 behave. […]

Comment: #32 IE7.js… http://dean.edwards.name/weblog/2008/01/ie72/ (googlecode page http://code.google.com/p/ie7js/) IE7 is a JavaScript library to make MSIE behave like a standardscompliant browser…….

Comment: #33 @vsync – The last version of IE7 had a document.recalc() method which allowed the page’s style rules to be refreshed. I will re-include this file before the project goes live.

Comment: #34 Re: [NextGen] Maybe this can help with our IE6 problems?… ReturnPath: Received: from susday7659.TD.teradata.com (localhost 127.0.0.1) by ncrusout1.ncr.com (8.13.8/8.13.8) with ESMTP id m08H9TLa022336 for ; Tue, 8 Jan 2008 ……

Comment: #35 […] Pues sí tal y como suena, IE7.js es una hoja Javascript que puede hacer que Internet Explorer se comporte según los estandares, corrigiendo su erróneo comportamiento en determinadas situaciones. Gracias a IE7.js podemos conseguir que en explorer las imágenes png con transparencia se vean correctamente, corregir discrepancias en reglas CSS con otros navegadores, etc. Simplemente te descargar el js, y lo incluyes en tus páginas. Puede ser una buena forma de evitar recurrir a hacks. […]

Comment: #36 […] Here it is : IE7.js version 2.0 (beta). Check out the demo page and start having fun again by worrying less with cross-browser compatibility. […]

Comment: #37 Dean, just tried emailing you about my previous comment and the slowness/freezing. Your script is throwing the following error upon attempting to send the email. Warning: mail() [function.mail]: SMTP server response: 551 User not local. We don’t relay in C:\dean.edwards.name\www\contact\index.html on line 19 Please reply to me at the email address I’ve used with this comment if that email doesnt get to you. Thanks!

Comment: #39 […] IE7.js version 2.0 (beta)Dean Edwards IE7.js has been updated after a long period of inactivity. The new version is split in two files IE7.js brings IE5+ into the same level of compliance as IE7, while IE8.js contains further standards compliance fixes beyond what IE7 currentlyTags: browser, IE7, IE8, ie, javascript, Dean Edwards, IE7.js, standards, webdesign Tags: .NET, .NET 3.5, Ajax.NET, ASP.NET, browser, Chris Miller, Dean Edwards, development, ie, IE7, IE7.js, IE8, interview, javascript, KJToo, Kris Johnson, Links, Mur Lafferty, Nisus Writer, podcast, Scrivener, software, standards, The Secret Lair, Ulysses, video, Virginia Heffernan, Wayne Sutton, webdesign, WriteRoom, Writing […]

Comment: #40 That is great,but the version is so strange. haha。 why take so long time to update it!

Comment: #41 […] Thankfully, Dean has improved them even more. Instead of having a ton of different JavaScript files with large file sizes, he has compressed them into two light-weight JavaScript files. […]

Comment: #42 Another great release. Thanks and congrats!

Comment: #43 […] […]

Comment: #44 […] ie7-js, currently in version 2.0 (beta), is a JavaScript library to make MSIE Windows behave like a standards-compliant browser. This page has the feature lists, and here’s the Google Code page. When this thing eventually works flawlessly it’s going to be huge. Freebird Theme for Chyrp […]

Comment: #45 […] IE7.js version 2.0 (beta) […]

Comment: #46 it is not transmitted, when appointing transmission PNG to the background of input-tags.

Comment: #47 First of all great work. Kudos indeed. I am having an issue with clientWidth in IE6 and was wondering if any light could be shed on the subject. Has anyone else had this issue and is there a solution? the clientWidth issue is in IE7.js. If I use IE8.js the error is no longer there however it does error if body{background-attachment:fixed;} If the fixed body line is removed from my css, no errors reported. All good things….. Cheers

Comment: #49 This script has single-handedly relieved web coders around the world of the constant suffering associated with the BANE of browsers we’ve come to know and DESPISE, internet exploiter. For ages we were told of a prophecy, a being, more than a man, would descend on us all bringing with him an answer to our disillusionment and hopelessness. Today we know this prophet as Dean Edwards, we know his answer as IE7. In the world of web developers, you are truly, truly a God. I bow to you my lord, what is your bidding?

Comment: #50 […] Dean Edwards hat eine neue Beta-Version seiner Javascript Library veröffentlicht. […]

Comment: #51 Truly remarkable work Dean! Now IE7 seems to almost work like an browser that is standards-compliant. Currently I’m also experimentig with IE8.js in one of projects for my studies, but so far no new critical remarks for it.

Comment: #52 […] Dafür gibt es nun eine Lösung von Dean Edwards. Er schrieb eine Library die den IE5/6 zu einem IE 7 oder IE 5/6/7 zu einem IE 8 upgraden sollte. Dazu werden einige css – Eigenschaften korrigiert, einige HTML Tags gecleant und alles nur mit JS. Er hat dazu auch eine Demo Page hinzugefügt. […]

Comment: #53 […] Источник […]

Comment: #54 […] Ein sehr interessantes Projekt ist das Projekt von Dean Edwards, welches es durch eine JavaScript Bibliothek ermöglicht dem Internet Explorer einige W3C Standards beizubringen. Zumindest sollte dieser sich mit diesem Script dann wie ein Standard konformer Browser verhalten. […]

Comment: #55 Nice work! Does it play nice with other js libraries? Like jquery for instance. thanks,

Comment: #56 […] From the authors page…“IE7 is a JavaScript library to make MSIE behave like a standards-compliant browser. It fixes many CSS issues and makes transparent PNG work correctly under IE5 and IE6.” More…How many times and how many hours have we (web site builders) spent trying to fix up issues caused by IE. Well I haven’t had time to look at this yet but it looks like a handy piece of Javascript. […]

Comment: #57 @Shaggy – IE7 only creates one global variable: IE7

IE7 only alters the built-in objects for IE5.0. Most libraries don’t support this browser anyway.

IE7 alters the DOM to fix broken HTML elements. It does this in such a way that DOM queries are not affected. If anything, they are improved. IE7 does create pseudo content using the special <!> element. This takes advantage of a bug in MSIE5/6/7 where comments are included in .getElementsByTagName("*") queries. Comments reveal themselves as elements with a tagName of “!”.

element. This takes advantage of a bug in MSIE5/6/7 where comments are included in queries. Comments reveal themselves as elements with a of “!”. IE7 makes all of it’s CSS changes through either element.className or element.runtimeStyle . This should not affect other libraries, so long as those libraries obey the rules of unobtrusive JavaScript.

Comment: #58 ok, I’m using IE7 trying to use a png background to draw a shadow down the left side of my container div. In IE7 and Firefox it works great, but in IE6 the png image does not repeat. It appears at the top of the div, but it doesn’t repeat, any ideas? Also if using a png as a button background it does not register as a hot spot when rolled over.

Comment: #59 Dean, regarding comment 59, I’m encountering an error when included with Prototype. The script debugger reports the error is in the evaluated selector function: var _selectorFunction=function(e0,s){IE7._indexed++;var r=[],p={},reg=[],d=document;var e1=IE7._byId(d,'mf-folder-nav');if(e1&&e0==d||e0.contains(e1)){r[r.length]=e1;if(s)return e1;}return s?null:r} specifically, e0.contains() is not a method. Tracing back to cssQuery, e0 is suppose to be the context element or the document. I did a check and it indeeds is the document. Since document.contains doesn’t exist, the solution is to not call it which I think is what you tried to do. However that expression will always call it. So I modified the cssParser class (line 669) to do this instead: if(e1&& (e0==d||e0.contains(e1)) ) It seems to work fine now. I don’t know if that disabled any fixes but the one bug I was trying to fix is the multiple classes bug for IE6 and this solved it. Thanks for the great work.

Comment: #60 @Chuck – the PNG fix does not support tiled (repeated) images using background-repeat . Nor does it support positioned images using background-position .

Comment: #61 @Tuan – this has already been reported. It is fixed in the next release.

Comment: #62 I wonder why nobody has said anything about this yet, but in the given example codes for linking to googlecode the version number is incorrectly 1.0 when it should be 2.0 -took a little while to notice the typo.

Comment: #63 @Vessa – I wonder how no one else noticed too. Fixed now.

Comment: #64 This script is great, I finally don’t have to worry about CSS hacks and improper rendering. It even fixes some CSS2 features missing from IE7! I tried the old version once but couldn’t get it to work. I noticed there was a new one and decided to try it. It renders a CSS-heavy website I was working on perfectly and doesn’t cause any lag or problems. Too bad something like this can’t fix the missing support for XHTML served as XML.. It’s still a great fix for the CSS hack filled nightmare that was IE6! I’m surprised something as buggy as IE6 can be made to render pages so well. I only needed to make a few changes which were easily done.

Comment: #65 this script didn’t work, maybe a known bug ? i’m using ie6 (from multiple ie) and windows xp sp2

Comment: #66 Nice, nice job! One thing: position:fixed seems to give a position:absolute behavior in IE6, meaning it scrolls along with the rest of the page. Am I doing anything wrong?

Comment: #67 Cool, but not only does it not support tiling background images (as you know) but it also breaks IE’s ability to do this using other methods.

Comment: #68 @thoeger – the fixed positioning solution should work. If you provide an example of broken behaviour then I will try to fix it. @Bouki – IE7.js fixes lots of different things. You will have to be more specific about what doesn’t work. The software is still in beta so there is time to fix bugs.

Comment: #69 @dean; Yeah, try and look at http://www.fys.ku.dk/~thoeger/Paradoxsite/, and the link ‘koret’ (danish for ‘the choir’) on that site. Use IE6. I might have missed out something but the code validates and It’s pretty simple, so I can’t see what is up…

Comment: #70 @thoeger – I can’t see anything wrong on at that page. Can you be more specific what the problem is.

Comment: #71 @dean: The fixed elements still scroll with the rest of the page.

Comment: #72 […] Transparent pngs don’t work in IE 6 and lower. There are a couple ways to get them to though. You can read through this: PNG-24 Alpha Transparency With Microsoft Internet Explorer 5.5 or better (MSIE 5.5+) Or you could try Dean Edward’s IE7 script which pretty much turns old IE versions into IE7 (which does support pngs) Dean Edwards: IE7.js version 2.0 (beta) The only catch is that you won’t be able to use them as repeating backgrounds. […]

Comment: #73 Note also that if you want transparent png images, you either need to rename them to include -trans.png or put IE7_PNG_SUFFIX = “.png”; in between the script tags (so, after SCRIPT and before /SCRIPT) This will apply the transparency code to all png files, which is useful if you only use PNG for transparent images.

Comment: #74 […] Ce script� est développé par Dean Edwards� sur Google Code […]

Comment: #75 Hi Dean, I’m sure impressed by the examples but can’t seem to get this to work with my aspx files. see http://www.artsinvest.net transparencies don’t seem to work and the layout is still all broken even though I linked to the js files in the header of the master pages, any ideas how I can get this working? Cheers, R T

Comment: #76 […] Zainteresowanych odsyłam na oficjalną stronę IE8: http://dean.edwards.name/weblog/2008/01/ie7-2/� […]

Comment: #77 Great Job. Your script many times saved my life. Keep Developing. Regards From poland

Comment: #78 I am trying to implement your javascript and it looks great in FF and IE7, but in IE6 it justifies my entire #wrapper to the right when it should be centered. I’ve been scouring my css for hours and cannot find an error or fix it. I’m even passing in an IE6 specific stylesheet with no avail. It goes away when I unlink your .js code #wrapper { margin: 10px auto; width: 760px; border: 7px solid #ffffff; background-color: #ffffff; text-align: left; text-align:center; } I’m appreciative of any help you can provide! Cheers! M

Comment: #79 Please post support questions here: http://groups.google.com/group/ie7-js Thank you!

Comment: #80 […] Dean Edwards has released the next version of his IE7 script to fix IE’s implementation of JavaScript. […]

Comment: #81 […] Zu finden bei Dean Edwards von Michael Karl | Browser Hacks, CSS, Javascript & Ajax | Trackback | RSSFeed […]

Comment: #82 I tested ie7.js for png’s trasparence. It fine works with IE6.0, IE 5.5, but doesn’t work with IE 5.01. Why? Does ie8.js resolve this problem?

Comment: #83 […] Op deze site vind je een op javascript gebaseerd script dat je kan gebruiken om IE naar je eigen hand te zetten. Geef IE 5 en 6 functionaliteiten van IE 7 of maak IE 7 nog beter. Ik heb het zelf nog niet kunnen uittesten, maar toch leek het me de moeite waard om het hier even te vermelden. […]

Comment: #84 @Supercammello – the PNG fix relies on Microsoft CSS filters which were only introduced with MSIE5.5.

Comment: #85 Hi, My app is under https and when trying it with your IE7 javascript it didn’t work. I tried under http and it worked. I also tried to download and unzipped the library to reference them directly (I was worry about being a problem of not coming from same domain security) but still didn’t work. Do you know anyone who was able to make your IE7 javascript work under https? Pehraps it simply does not work under https. Thanks, great work by the way. cooked-bean

Comment: #86 Dean you’re the man. . Is there a donate button on your site ?

Comment: #88 […] February 21st, 2008 in Links Dean Edwards has released a new version of his magic make-IE-suck-less script, which brings IE within reach of standards. […]

Comment: #89 Dean, I just wanted to tell you that your work is very great ! I’m using IE7 since version 0.9, and it gets really better over the time. Thanx for your efforts !

Comment: #90 […] Dean Edward’s IE7 javascript has been updated with many new bugfixes, check it out. […]

Comment: #91 LOVE your work! I’ve been using the libraries for a while.

Comment: #92 I’m using your IE8 but I still have problems, which I’m beginning to grasp at straws. I always get an error on my site when using IE7 – line 74, char 4, code 0 – no matter what is on that line. In 2 of the exact same builds of IE& – I have only one that throws an “operation aborted” error. Anyone have any ideas??? I really really appreciate any help I can get.

Comment: #93 excellent dean, more i cannot say. you understand your “job” and have many outstandig knowledge, its allways interesting to read about your work. keep it up!

Comment: #95 […] En attendant cette nouvelle version, il faut bien sûr encore faire avec les précédentes. Alors, pour quelle solution opter ? Les hacks CSS qui ont pour principaux défauts d’alourdir et de rendre les fichiers CSS non valides… ou utiliser javascript avec IE7.js, la bibliothèque Javascript IE7 de Dean Edwards, mis � jour en début d’année. […]

Comment: #96 This certainly makes supporting IE6 less painful. Be aware that using AlphaImageLoader to make PNGs be transparent can deadlock IE 6. I described this in more detail at http://blogs.cozi.com/tech/2008/03/transparent-png.html

Comment: #97 Thanks again for your hard work on this project. I attempted to make a post before with regards to style sheet switching and Ie7/8 (I’m not certain if my post in Purgatory or just didn’t go through). I have gotten closer, realizing that I needed to make a couple of changes to my code. I added the following to my function: IE7.CSS.init(); IE7.HTML.init(); IE7.HTML.apply(); IE7.CSS.apply(); IE7.recalc(); I now have a working version in IE and Firefox: http://markschamel.com/deanEdwards/ie8.b.html My function is here: http://markschamel.com/deanEdwards/scripts/methods2.js I have two questions: (1) Do I need all of the code I added? (2) I’m still struggling to make this work with stylesheets which import other stylesheets, any pointers?

Comment: #98 div png background; form in div; form is disable

Comment: #99 […] Libraries can be found here. […]

Comment: #100 the “:nth-child()” does not work in FF…and the “outline” does not work with ie8.js in IE6…the png background image hack does not work with “a:link,a:visited{}” but “a{}”…so strange…

Comment: #101 […] 23, 2008 · No Comments This set of script files, found here, are a cross-browser programmer’s best friend. Uploadthem to your server, link them into your page with a simple script tag, and voila, you add web standards to your IE browsers. For me, the alpha transparency and min-width stuff is worth the price (it’s free!), but it contains so much more. There is also a google group you can join that Dean himself contributes to. […]

Comment: #102 What are your plans now that IE8 is in beta?

Comment: #103 […] problemas que internet explorer 6 suele dar… Mediate esta estupenda librería desarollada por Dean Edwards� podremos usar png trasparentes en IE6, aplicar :hover a todo tipo de ejementos de bloque (no solo […]

Comment: #104 […] per Javascript lösen, bspw. mit jQuery. Hier im Blog macht das allerdings Dean Edwards’ IE7-Script. Wer aufgepasst hat wird jetzt sagen: ha! doch Javascript! Ja, aber:… funktionieren tuts […]

Comment: #105 HI! i am Jun! I come from CHINA! please look the webpage code ! http://www.xhtml-css.cn/why-not.html http://www.xhtml-css.cn/why-ok.html if delete img that IE6 IE7 FF3.0 all is ok! but join img ,IE6 is can not identify all :hover! why? EMAIL:moo_lee@yahoo.cn Thanks!^_^ i looking for your email is very trouble!! EMAIL:moo_lee@yahoo.cn Thanks!^_^ i looking for your email is very trouble!!

Comment: #106 Great to hear that your excellent work will continue on this front! Btw, your code view (used in this post to denote how to link straight from google’s servers) is a bit wanting… Specifically, two formatting choices break the ability to actually copy and paste from the page: 1. Quote marks are turned into “smart quotes” 2. The final double dash that closes the comment is turned into an em dash. I was able to sort out why adding IE7.js to my site broke it. Others may falsely blame the javascript itself rather than simply double checking the code that includes the javascript. Thanks for all your hard work with this project!

Comment: #107 Dean, Could you put some an explicit licencing statement in the source code, or at least in the Subversion repository? The lone reference to http://www.opensource.org/licenses/mit-license.php is a little vague.

Comment: #109 Thanks a lot! I was having problems with background-image for a div working on IE6.

Comment: #110 Have you seen this? Apparently he has found a way to do transparent PNG tiling for IE 6 and below. Any possibility of this getting into your script? http://www.twinhelix.com/css/iepngfix/

Comment: #111 Great work, thank you! Especially for the .png fix, for the first time I have a fair degree of confidence that IE will get it right and am going to include them in my site design. It should be a big embarrassment to Microsoft that their team can’t get such a tremendous improvement in web graphics to display correctly. But after this long, apparently not. So I’ll assume they’re up to their old tricks of stifling promising non-ms tech whilst trying to figure out how to (re)invent and cash in on “IEBlend technology, now you can use your non-rectangular graphics against any background!” Either that or human resources is hiring too many relatives. I don’t hate MS, but when I think of the countless hours that developers have spent on this inane display problem… bah. They are holding the world back from seeing next level website graphics and what can be done with them. If they don’t fix it soon, maybe a movement could gain momentum, to use .png’s as-is and state on the first line of the page “If you see gray around the image borders, you are using a non-standards compliant browser. Please upgrade to Firefox.” I know this would be limited to mainly non-commercial sites but maybe we’d get a proper solution out of it from MS. One .png solution I can’t remember seeing is to stick the .png in a flash. Then you’d just have to learn the IE flash hacks. (grin) An advantage is that file size can be considerably reduced compared to the plain .png file. Another is you can put a mask on a .jpg to make it smoothly non-rectangular. A disadvantage for most visitors would be that they’d have to take a screenshot to save the image. Once again, thank you Dean for this hard work!

Comment: #112 I just tested it again, you’re right, my bad. Before a few days ago it’s been a while since I tried IE and .png images and thought I read, and had tested, that it wasn’t fixed yet. I just felt my soapbox shake a bit under my feet… IE7 users are about 41% of my visitors so I’m still glad for the fix. The person my stats page reports as using IE2 will have to tough it out though.

Comment: #113 Dean looking at 35. I tried doing a document.recalc after I loaded an image with AJAX but it remains gray. I have no problem using your JS on a static html page it works great. I also did a 2 second settimeout after the image is called that doesn’t work either. Is there something I have to do besides call. document.recalc(); ? Thanks in advance.

Comment: #114 Hey Dean, I just wanted to let you know that your fix saved me that incredibly huge amount of time that I usually had to spend on fixing the layout for the IE I’m just a ‘little’ ..nerved.. that I haven’t found it earlier, though I must confess that I was sceptical – as I’m ever – using Javascript to fix CSS problems. But hey.. its working – so what. Never the less – best wishes, greetings and a lot of thanks Flitze

Comment: #115 Just found out about this script and used it on a site I’m developing where some custom Google Map elements wouldn’t display correctly in IE6. Wow, you just saved me an incredible amount of time! I can’t wait to use this to implement advanced CSS in future sites. Thanks upon thanks for the great work.

Comment: #116 […] A partir de los inconvenientes con el diseño previo, aprendí la lección que me llevó a plantear este último objetivo. Por ejemplo, un 39% de las visitas utilizan Internet Explorer versión 6, y por ello tienen algunos inconvenientes de visualización serios. Actualmente, se continúa trabajando para “amigar” los estilos CSS del diseño con IE6. Sin embargo, no existen recetas únicas y se deben desarrollar toda una batería de estrategias y hacks para solucionarlo. Para esto, un excelente primer recurso a investigar es el de Dean Edwards – IE.js […]

Comment: #117 Hi Dean, and thanks a lot for your very good job. I still have a problem with position:fixed in IE6. My page has a header which is fixed, but I cannot succeed to post the body below the header. The top of the body disappears behind the header. My body style has a position : absolute, with top equal to the header height. I’ve also tried to use “scrollTo()” with an anchor at the top of the body, but no success Any hint ? Thanks in advance. Phil.

Comment: #118 Hi Dean, is it possible make your script more “manual”? So something like that can be used: ....... var css=new IE7CSS("CSS/styles.css"); css.apply($$("[class=Header]")); ....... I assume it can be much faster and don’t break existing pages ($$ – from MooTools)

Comment: #119 Anyone get this to work with an AJAX call for an Image? I tried using document.recalc(); after the image had been downloaded and it still appears with a gray background. It works fine in a non-AJAX call.

Comment: #120 […] But lucky there are many javascript solutions to solve this problem. One of them is written by Dean Edwards. This script forces IE6 to show PNG’s alpha […]

Comment: #121 It may be a bug. After using IE8 library (or IE7 library), some links have no responses under Internet Explorer 6. test pages using IE8 library: http://lungzenoopen.googlepages.com/links.html test pages using IE7 library: http://lungzenoopen.googlepages.com/links_ie7.html How to let these links work? I don’t want modify HTML code. Can use javascript to fix it?

Comment: #122 Does this script not work for background images of tables in IE6? I have a background image that has some shadowing around the edges that is not being displayed correctly using this script? I named the files with a -trans.png ending to no avail. Any ideas?

Comment: #123 Many, man many thanks!!! this script saves me a lot of time man, cheers!!!

Comment: #124 […] Dean has improved them even more. Instead of having a ton of different JavaScript files with large file sizes, he has compressed […]

Comment: #125 The image is in a DIV that gets updated with the AJAX return html. That points to the image.

Comment: #126 The comments function did not work O.o

Comment: #127 […] Já tem uma versão para corrigir os bugs do ie7 também (ie8.js) e pode ser baixada no site do desenvolvedor. […]

Comment: #129 Hey Dean. Where could I find the old version of IE7.js?

I want to take a look at the changes from version 0.9

Comment: #131 I have no problems with IE7, fantastic!! but the link directly to the files on google is a little bit slow. for me y. k. cheers!

Comment: #132 I think this has to be a great alternative to ad hoc hacks. BUT it has messed up my drop-down menus because only the link is being highlighted (not the list item box), so the menus collapse when trying to mouse to the next level. This is ‘normal’ IE6 behaviour, but I use the Suckerfish script, which enables IE6 to highlight the list item boxes. I’d hoped IE7.js would do the same, but in fact it does the opposite and over-rides the Suckerfish script. IE7.js has the same effect on the menus both with and without Suckerfish My menus are based on ‘More Eric Meyer on CSS’, Project 6, but use the Suckerfish script to work in IE6 instead of csshover.htc. Is there a solution to this, please ? Tim Dawson

Comment: #133 Hi dean, First of all great work. I have a problem when I use your script inside a frame (ugly, I know). I get a permission denied on ‘if(/ie7_off/.test(top.location.search)||k<5)’. Any thoughts on a quick fix? Thanks, Ronald Moolenaar

Comment: #134 I get ‘Object required’ when executing ‘c.runtimeStyle[h]=c.parentElement.currentStyle[h]’. Is there a non minified/obfuscated available to allow for debugging of your script Dean? Thanks

Comment: #135 I tried a lot and am not getting the hover effect to work. In particular, nothing seems to work. Why? http://www.drobiarnia.com/glasses/test.html

Comment: #136 Ok, now I found out that in IE6 it wouldn’t work with the class selectors like: div.story:hover { atributes } but it would work with id like: div { } #story:hover { atributes } feature?

Comment: #137 Thank you so much for the work you have done on this. You have provided a much need service to the world of mixed standards.

Comment: #138 […] 2.1 Force IE6 To Support Alpha Transparency […]

Comment: #139 […] 2.1 Force IE6 To Support Alpha Transparency […]

Comment: #140 […] 2.1 Force IE6 To Support Alpha Transparency […]

Comment: #141 […] "; } Im IE scheint es nun mit dem eigens modifizierten JS code von Dean Edwards zu klappen (Dean Edwards: IE7.js version 2.0 (beta)) Funktionieren tut das ganze jedoch nicht sobald ich mit URL ein Bild reinlinke. Z.B.: .back […]

Comment: #142 […] Dean Edwards’ IE7 JavaScript library can be used to force support for PNG alpha transparency in IE6. […]

Comment: #143 good work! you are gunesii

Comment: #144 […] 2.1 强制IE6支持透明 […]

Comment: #145 Dean, thanks for a great work!!! Very-very-VERY usefull!!! Cheers!

Comment: #147 […] 2.1 Force IE6 To Support Alpha Transparency […]

Comment: #148 Awesome job! Your work is very much appreciated.

Comment: #149 Awesooome !!! Good job !! Im from Brazil and this script was very helpfull !! Thank you very much.. In a few days i will donate some….

Comment: #150 you are gnarls my man. thanks from va beach!

Comment: #151 Hi, anyone knows it IE7 works for wordpress distro? thanks in advance!

Comment: #152 I’m using transparent pngs but IE6 doesn’t display correctly How can I configure it? should I specify the blank.gif path ? Thanks

Comment: #153 To use transparent png images, you can choose to include -trans.png or put IE7_PNG_SUFFIX = “.png”; in between the script tags.

Comment: #154 Just curious: Why did you remove the base64 support?

Comment: #155 Have you seen these two pages. They have been able to implement background .png that can tile. This would be an awesome addition to your scripts. http://www.dillerdesign.com/experiment/DD_belatedPNG/ and http://www.twinhelix.com/css/iepngfix/ also The first guy has implemented rounded corners as well for elements. http://www.dillerdesign.com/experiment/DD_roundies/

Comment: #156 […] Dean Edwards: IE7.js version 2.0 (beta) […]

Comment: #157 […] Dean Edward’s IE7 javascript has been updated with many new bugfixes, check it out. […]

Comment: #158 Great idea! Thank you so much!

Comment: #159 I’m Italian. Sorry for my english, but with the IE7/IE8.js I have any problem… doesn’t works on IE6 and I see error message in the bottom-left of the web-page.

Comment: #160 […] 2.1 � 强IE6使其支持透明 […]

Comment: #161 […] background i png Witam, znalaz�em w sieci fajny skrypt likwiduj�cy problemy z IE6 http://dean.edwards.name/weblog/2008/01/ie7-2/ G��wnie chcia�em u�y� do PNG transparent. Ale mam jeden problem jak mam tak� sk�adni�: <a […]

Comment: #162 It seems this does not fix the ie whitespace bug. http://www.456bereastreet.com/archive/200610/closing_the_gap_between_list_items_in_ie/ Will it ? I tried this js with ie6. But it still shows the problem.

Comment: #163 very cool script. can you integrate http://www.dillerdesign.com/experiment/DD_belatedPNG/ for the png problems?

Comment: #164 Got an error in IE7: Line: 3 char: 13516 Error: ‘style’ is null or not an object Code:0 Url: myurl This was on a drupal site. I have since disabled the script and all works well. Upon looking at the file in Komodo, I get a number of “strict warnings”. Anyone else getting this?

Comment: #165 […] 2.1 强制IE6支持透明 […]

Comment: #166 […] 2.1 强制IE6支持透明 […]

Comment: #167 Dean, are you still maintaining these comments? Do you have a commented version of IE7.js available? I have an existing style sheet that I can’t apply this too, but I would like to add multiple CSS selector support to my existing project.

Comment: #168 Any thoughts about porting this to Jquery?

Comment: #169 Adam, the source versions are here: http://ie7-js.googlecode.com/svn/version/2.0(beta3)/src/ I’m not sure what you mean by “porting” to jQuery.

Comment: #170 Hi Dean! Are you still working on this script? Last release was last year and in bugtracker lots of bugs, it is very disappointing that work on so great thing is stopped : (

Comment: #171 […] 2.1 强制IE6支持透明 […]

Comment: #172 It helps in IE6! Thank you.

Comment: #174 Your test pages don’t work. I’m using IE8 on XP SP3.

Comment: #175 Hey guys, These seem like exciting fixes, but it’s a bit of a moot point for me because I don’t have any way to test my pages in IE6. How do you guys do it? I have found a couple of rendering websites, but they mainly just feed you screen shots, so there’s no way to navigate it. And I’m not really sure if Dean’s script will work on their rendering engine. Scott

Comment: #176 […] apparently been updated fairly recently. If it works, to quote Eric Meyer: In the main, it will be a lot less painful to […]

Comment: #177 Scott @ #175: Try Multiple IE – http://civicactions.com/blog/2009/may/18/multiple_ies_including_ie8 It’s no longer supported, but I’ve never had any problems with it.

Comment: #178 […] 2.1 Force IE6 To Support Alpha Transparency […]

Comment: #179 I love this JavaScript-File! It saves both, time and money. thanks!

Comment: #180 scott @175 – try this: http://www.xenocode.com/browsers/ dean, an absolutely fantastic contribution! limitless kudos….

Comment: #181 […] It just wouldn’t be right to have a friendly, festive holiday tutorial without inviting IE6, though in this particular instance there will be no shaming that old browser into admitting it has a problem, nor an intervention and subsequent 12-step program. That’s right my friends, this tutorial has abstained from IE6-abuse now for 30 days, thanks to the wizard Dean Edwards and his amazingly talented IE7 Javascript library. […]

Comment: #182 […] It just wouldn’t be right to have a� friendly, fes­tive hol­i­day tuto­r­ial with­out invit­ing IE6, though in this par­tic­u­lar instance there will be no sham­ing that old browser into admit­ting it has a� prob­lem, nor an inter­ven­tion and sub­se­quent 12-​​step pro­gram. That’s right my friends, this tuto­r­ial has abstained from IE6-​​abuse now for 30� days, thanks to the wiz­ard Dean Edwards and his amaz­ingly tal­ented IE7 Javascript library. […]

Comment: #183 […] It just wouldn’t be right to have a friendly, festive holiday tutorial without inviting IE6, though in this particular instance there will be no shaming that old browser into admitting it has a problem, nor an intervention and subsequent 12-step program. That’s right my friends, this tutorial has abstained from IE6-abuse now for 30 days, thanks to the wizard Dean Edwards and his amazingly talented IE7 Javascript library. […]

Comment: #184 I already try this js, and it’s running well. But, a few of my image that I already give -trans.png still not show up. Is there any rules about the image?

screenshot 1 : running on firefox http://agungprasetyo.net/wp-content/uploads/2009/09/png-sip.jpg screenshot 2 : running on IE 6 http://agungprasetyo.net/wp-content/uploads/2009/09/png-error.jpg please…. help me. Thanks

Comment: #185 […] InformaciónActualizado: Hoy por hoy -09/09-, el mismo Edwards ha desarrollado soluciones de compatibilidad con estándares, y en este caso en concreto con CSS, dónde evidentemente ya podemos usar min-width, max-width y muchos otros, no sé cuantos, pseudo-selectores en casi o todas las versiones IE, al menos 6, 7 y 8. Enlace: Dean Edwards IE7 Actualizaciones […]

Comment: #186 […] 2.1 强制IE6支持透明 […]

Comment: #187 […] לגרום לאיכספלורר 6 להת� הג כמו 7 או 8 […]

Comment: #188 Dean, Using the multiple IEs / IE6eolas standalone, I get an error. I realize that this is a non-standard browser, but it is one widely used by people testing web sites. Is there a potential patch to IE8.js that would work around this? Line: 619 Error: Syntax error eval(format(_FN, reg) + cssParser.unescape(fn) + “return s?null:r}”); I used the uncompressed version, so as to get a line number: http://ie7-js.googlecode.com/svn/version/2.0(beta3)/src/IE8.js note that the Version string of the IE6 standalone is not what one would expect: 7.0.5730.11.xpsp.080413-2111 a true installation (IE6 on Windows XP) does not exhibit the error. Its version string is more like expected: 6.0.2900.2180.xpsp_sp2_rtm.040803-2158 In addition, the IE6 conditional comment will not execute in the IE6 standalone. <!–[if lt IE 7]>

// does not execute

< ![endif]–>

<!–[if lt IE 8]>

// executes

< ![endif]–>

Would anything short of a registry hack fix this?

Thanks,

Monte

Comment: #189 […] IE8 works very well in my eyes. you should read this: Dean Edwards: IE7.js version 2.0 (beta) IE8 – What you need to know :: CSS, JavaScript and XHTML Explained hope that can help you […]

Comment: #190 […] figured I could sort through the IE 6 issues in phases. And there were plenty. Dean Edwards’ IE7.js v.2 (thanks, Dave Ross) works wonders for base rendering normalization, even taking on PNG […]

Comment: #191 The best way to test in IE6 and 7 is to use one of the Windows XP images thoughtfully provided FREE by MS. Yes you have to download a new one every few months, but it’s free

Comment: #193 good to know and have. but could be a problem for sites that are planned to be on for a long time (see post 4) but really good job anyway.

Comment: #194 […] 2.1 Force IE6 To Support Alpha Transparency […]

Comment: #195 Wow, You are the guy who microsoft needs in the IE programming team ha ha ha.. Good Job, this will save my soul because the label “button” is crazy with IE and send also all the html inside it.. Thanks a lot!

Comment: #196 […] 2.1 强制IE6支持透明 […]

Comment: #197 hey very nice script. I am loving it. I think you should develop one script for IE to firefox. D-;

Comment: #198 I noticed that ie8 does not support :last-child. Is there any plans in the future to make that pseudo selector emulate for ie8 as well? I really don’t see the sense in reaching for :first-child to begin with if IE8 doesn’t render :last-child. might as well inject a first and last class.

Comment: #199 Great job Dean, this just saved me a lot of work. Thanks again

Comment: #200 […] 2.1 强制IE6支持透明 […]

Comment: #201 […] 2.1� Force IE6 To Support Alpha Transparency […]

Comment: #202 […] 2.1 强制IE6支持透明 […]

Comment: #203 […] Dean Edwards solution […]

Comment: #204 […] […]

Comment: #205 […] 查 看Dean Edwards地址：http://dean.edwards.name/weblog/2008/01/ie7-2/ google 下载地址：http://code.google.com/p/ie7-js/ 演 […]

Comment: #206 […] http://dean.edwards.name/weblog/2008/01/ie7-2/ Veröffentlicht in Internet, KubaSEOTräume | Schlagworte: contest, KubaSeoTraeume, wettbewerb […]

Comment: #207 […] 可以随时更新http://ie7-js.googlecode.com/svn/version/ 查看Dean Edwards地址：http://dean.edwards.name/weblog/2008/01/ie7-2/ google下载地址：http://code.google.com/p/ie7-js/ […]

Comment: #208 […] 2.1 Force IE6 To Support Alpha Transparency […]

Comment: #209 […] I’ve not had a chance to test, but in retrospect, it is probably because I use Dean Edwards’ compatibility scripts–see http://dean.edwards.name/weblog/2008/01/ie7-2/. […]

Comment: #210 […] http://dean.edwards.name/weblog/2008/01/ie7-2/ 一 参考资料 1 解决IE5、IE6、IE7与W3C标准的冲突,使用(IE7.js IE8.js)兼容 […]

Comments are closed.