PNGs in IE6: You get what you’ve got.
With the redesign on its way and actually in the browser testing stage now, I’ve had the fortune to spend a few quality hours debugging IE as of late. Generally I don’t have too many un-fixable issues with the browser and any PNG issues can be easily solved with a filter or some JavaScript, but today’s pushed me over the edge.
Why it’s usually no biggie.
As I’m sure you are aware, IE 6 doesn’t fully support transparent PNGs and generally display them with ugly gray backgrounds. Generally this can be solved by using a filter that IE does support as follows:
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="theimage.png", sizingMethod="crop");
There’s also a brilliant solution that avoids the filter and can be used through the DD_belatedPNG script.
Why they don’t always work.
Again, up until now, I’ve never really had a PNG issue that couldn’t be solved though one of the above methods. But the DD_belatedPNG is still in alpha and, from my experience, doesn’t handle multiple PNGs too well. So in this case, that one’s out for most of my images (I decided to use it just on my logo).
The filter also has it’s own range of problems, one of which is that pages will not display until everything is loaded and IE6 has applied the filter. Generally, I’d be fine with that. But in this case, I’m pulling my lifestream into the sidebar via AJAX. If it doesn’t load, the whole site doesn’t load. In fact, the entire browser will actually freeze.
So today,
I have decided that it’s not worth it. I’ve used DD_belatedPNG on the logo, and to the people who are unfortunate enough to be using an almost 7-year-old browser, you will be seeing a couple gray backgrounds and perhaps a display: none; or two.
Oh, and of course this nice little message:
Hey there! It appears you are using Internet Explorer 6, which is almost 7 years old! This means your computer will get viruses easier and the some websites (such as this one) might look funny.
Why not upgrade your browser? You could try Mozilla FireFox (my personal favorite) or even just update to a more recent version of Microsoft IE.
To somebody used to browsing in IE6, the site looks fine. A couple PNGs not rendering transparent won’t kill anybody, and it lets me spend more time on the other 94% of my visitors.
What about you? Where do you draw the line for IE6 support?












I gave up on IE6 support a short time ago as well, mainly for the same reason as you – the dreaded PNG.
I’ve recently been doing some alpha testing of a site I’m developing and the PNG’s always cause me headache. Most of the time a nice little JavaScript or filter can be used – but it got the point that I said enough.
IE6 is outdated technology with too many bugs, I’m tired of lining out specific CSS for it and I hope Microsoft chokes on it.
I look forward to a time when Microsoft learns a little something about web standards…
IE7 rarely really needs too many fixes, and IE8 isn’t too bad either (though I’m hoping a few weird JavaScript errors I’m finding in the RC1 get fixed before it gets released). Most IE6 issues aren’t too bad to fix as they’re generally the same thing every time.
For client sites I’ll still provide more IE6 support, but for a personal blog about web development… You shouldn’t still be on the browser in the first place.
I’m really excited about the DD_belatedPNG script–it works great as long as you don’t run it on multiple elements. Hopefully it’ll get better soon.
You’re right, most IE6 issues are the same things – over and over again and aren’t very hard to fix. I think what irritates me the most is that there are people that still use it.
Granted, I realize that not everyone belongs to the web development community, but come on – IE6 is terrible in it’s every day use. It makes beautiful sites look very ugly, not to mention typography is a nightmare.
I’ve had no problems with IE7, aside from a few minor glitches and IE8 RC1 does need a little work on it’s JavaScript engine, but could be promising. I do really like that DD_belatedPNG script though, very nice.
True, but have to remember though, IE7 only works on XP SP2 or higher–anybody on SP1 or Windows 2000 can’t run a newer version of IE. FireFox would work, but you then need to convince people still running older operation systems that it’s worth their while to switch to a non-Microsoft browser. Not an easy task.
I know, it’s just irritating and I know it’s because I’ve been using FireFox and Safari for so long. Even Chrome is a nice contender for web standards.
I have pity for anyone who’s stuck using IE6 and I have disdain for anyone who openly chooses to use IE6 – just upgrading to IE7 buys them some points in my book.
Maybe someday we call unite under flag of browser compatibility.
So, Elliot. Since MS decided to release IE8 today, what are your initial thoughts and/or opinions?
I’ll share a few of mine: jQuery support is buggy at best, JavaScript engine is much slower than anticipated and CSS3 support is a joke – only offering a few things in that realm.
Apparently Facebook was so scared that they added this nice little META tag to their headers:
This takes away IE8’s annoying little “Compatibilty Mode”…
Oops sorry, forgot to add that META tag, here it is:
I’ve been testing in the RC1 these past few days, haven’t had a chance to download the official release yet. Overall, IE8 doesn’t seem too bad to me as far as IE is concerned (how sad is it that I have different standards for IE than I do for other browsers?). CSS3 support isn’t really there at all and some border-radius and text-shadow support would’ve been nice, but CSS2.1 rendering seems pretty good.
The RC1 didn’t seem to be working too well with at least one of my jQuery scripts, while the earlier beta was actually running them fine. I’ll have to see how the official release turned out… Really hoping they got rid of the new bugs. What sort of JavaScript bugs were you getting?
Also, make sure you run your code through Postable first, otherwise it’ll get stripped out or applied.
testing threaded comments.
Yah I forgot about Postable, had a minor brain skip there.
Here’s that tag:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />While my distaste for IE knows no bounds, IE8 is much better than IE7 in many respects – I’ll give them that. CSS 2.1 extended support is a welcome change, albeit should have been in IE7.
CSS3 is still almost completely non-existent, sad. As far as JS, the engine is still very slow compared to Firefox 3/3.1 and Chrome. In the bugs department, support for the ‘option’ element is still a problem, tracking ‘mousedown’ and ‘mouseup’ events are still un-fixed and no sign of DOM2 event listeners.
This is just a few that I’ve come across, and I’m probably being a little over-picky – but these things were addressed at the release of IE7. It’s time for MS to step up and give developers what they want.
And in my tests, FF3.1 and Chrome beat IE8’s JS engine by leaps and bounds.
My site is for 99% working on IE6. I’m very proud of myself in getting it that far. It’s just that there were solutions possible without that many hacks, otherwise I wouldn’t cared that much.
A lot of sites are now showing a message to update for old IE users. And with the latest browser just out the door I can’t blame them.
For the IE6< user visiting my site I’ve put up a well-known InfoBar with a message to update or to install a ‘better’ browser.
Yea luckily most stuff is fixable. I actually don’t have any viewers with anything less than IE6, and IE6 is at about 3% for the past 72 hours here. So, I don’t bother at all with >IE6. For IE6 it works, just not as well as a better browser.
Извиняюсь, есть предложение пойти по другому пути.
Internet Explorer 8 is very good because it is as stable as Opera. I hate the previous versions of IE like IE6 because it hangs frequently. |
I just want to add my personal 2 cents in on this post to say hi.
I use Mozilla Firefox that supports png, but some of my customers still have an old IE browser and I send them a gif to use. I hope they will update this as pngs look so much better!
Internet Search Engine Reviews…
[...]just below, are some totally unrelated sites to ours, however, they are definitely worth checking out[...]…
You did an outstanding job describing this in depth. Congratulations.
Thank you for the sensible critique. Me and my neighbor were just preparing to do a little research on this. We got a grab a book from our local library but I think I learned more clear from this post. I’m very glad to see such fantastic info being shared freely out there.
This was a very newsworthy post! I am so excited I found your article. Keep up the amazing work. Have a great day! usaforwarding.com
We like to successfully reverance numerous other myspace using the net, fresh fruit many people aren’t in connection with united states, by back linking on their behalf. Lower than are a couple of blog pages truly worth finding out about…
Just what I was looking for, appreciate it for posting . “Every failure is a step to success…” by William Whewell.