nerdygirl.com

Damnit, Internet Explorer

I've said it before, and I (and every other web developer out there) will say it again: Internet Explorer makes my life hard. It's not that Firefox and Chrome don't make my life hard in different ways, but IE has consistently, for more than a decade, made it more difficult than any other browser.

My most recent irritation is this: Internet Explorer will only allow up to 31 stylesheets. After that, it silently ignores them, like the sneaky jerk face it is.

So, let's say you have a large code base, and this entails lots of different modules that have their own CSS files. Now, in a production environment, you don't want to make the end user download all those stylesheets because it will slow down page loads, so you package them all up in a single file, minimize white space, remove comments, etc. In a development environment, however, you want to be able to see what the heck you are doing. So you've developed this nifty code that will include files individually on a development environment and smush them all together on production. You pat yourself on the back because, really, the whole thing is pretty slick. Until.

Until IE starts messing with your head again. Because this week was when we reached the magic 31 number. Moreover, we reached it with the stylesheet that takes care of one module on our system. The one I happened to be working on. So all other browsers in the known universe displayed my page correctly, but IE, for no discernable reason whatsoever did not. I sorted it out rather quickly, thanks to Google + random nerds, but should we really still have to be dealing with this kind of thing? Should I still be raising my fists up to the ceiling shouting, "Why, IE, why?"

Internet Explorer, I beseech you: please stop making me shake my fists at you. My vocabulary isn't getting any less colorful where you're concerned, and although that's fantastic from a creative standpoint, it makes us both look unprofessional. Thanks.

12/9/2011     2 comments

© All materials on this site copyright Rebecca Campbell 1999 - 2013