Let Them Die

This month’s edi­tion of A List Apart cov­ers how to man­age mul­ti­ple browser ven­dors and their vary­ing sup­port for html5 and css3 1. We’re all aware of the dif­fer­ent uses of border-radius in both FireFox and Webkit. And being able to not fork the code in mak­ing rounded cor­ners by sim­ply writ­ing stan­dard css3 is tempt­ing. In fact, it’s ideal. Having it man­aged with javascript is actu­ally very clever, and… cool!

But I would pro­pose some­thing dif­fer­ent entirely. Instead of using a js library to help browsers prop­erly ren­der a soundly con­structed html5/​css5 web­page, short of mak­ing sure it doesn’t look like “total ass” on IE, just let the page ren­der as it lay.

By now, web design­ers are largely aware of the ren­der­ing quirks of var­i­ous browsers. Little things like not adding mar­gins to float­ing divs for IE’s sake, or not apply­ing –webkit gra­di­ents to divs that con­tain text fields, are a part of men­tal mine field map that goes into our work.

Using a javascript library to get around this isn’t the answer. Remember that script that lets IE6 prop­erly ren­der PNG trans­parency? It might have been rel­e­vant to a cou­ple of years ago when there were still a vast major­ity of users that used IE6, but most web design­ers have aban­doned even try­ing to sup­port the browser, much less try­ing to make every pixel line up prop­erly or make every image look decent. At some point (if our bosses let us), we move on.

Sadly, we moved onto other scripts that do what html5 is sup­posed to do already.

Here’s my advice. Write your site to work just fine with­out any javascript (or css for that mat­ter) needed. If you can still use the site, you’re good to go. Using ajax his­tory to browse back and forth with the browser chrome? Make sure it works with­out javascript and move on. If you’ve got some killer CSS mojo for your site, just write it. Write that wid­get that does that thing with the stuff, but to say that we have to cover every con­tin­gency is unreasonable.

When did we go from say­ing “to hell with bad browsers” to using libraries to keep these browsers on “the same page?”

Older browsers won’t go away (I still see Netscape occa­sion­ally show up on Google Analytics), but the sup­port we give them can.

I like to look at these bar­baric browsers like the Klingons in Star Trek XI. Their sur­vival was in jeop­ardy and Kirk was hav­ing none of it. Eventually, he came around and now we’re stuck with the Klingons and their fore­heads forever.

Don’t let this hap­pen to bad browsers. Let them die.

1. Links

This entry was posted in Design and tagged , , , , , . Bookmark the permalink.

Comments are closed.