Stop supporting IE7?

Friday, August 21. 2009

Stop supporting IE7?

As already written in my Stop supporting IE6 article I hoped for IE8 supporting media specifiers in CSS @import statements. The benefit would be to lock out IE6 and IE7 from seeing the CSS definitions without using proprietary IE conditional comments. Fortunately Microsoft really did it, they support this syntax in IE8!

So if a website is going to drop support for IE7 (which may be a good idea because IE7 is still a pain-in-the-ass when it comes to web standards) then it can be done like this:

<style type="text/css">
  @import "common.css" screen;
</style>
Posted in HTML/CSS | Comment (1)
Aaron Clausen at 2009-11-30 12:26
I agree with IE7 and web standards. IE7 doesn't support CSS 2.1 among many other issues. It's become VERY dated these days very quickly.

Personally, I no longer support it and that is not an easy decision to arrive at because still ~14% of users are using it.

I just know that as each month goes by, more and more people will be auto upgraded to IE8 via Windows Update. At least that's one good thing.

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.