Monday, July 19, 2004

IE7 print media gotcha

http://dean.edwards.name/IE7/caveats/ states (of version 0.6.1) "IE7 does not currently support print media"

That led me to expect that IE7 would simply be a no-op when it came to printing a page (that nothing drawn from the IE7 extensions would appear). It isn't. The correct form of words, deduced by experiment, is

"IE7 will currently completely discard any print media style-sheets"

which is somewhat stronger. So it's all OK unless you have a site that's also geared as much to printing as to on-line browsing.

So for the moment I'm addressing my “I can't stand IE any longer” issues — lack of proper <abbr/> and CSS max-width — by hacks that are guarded by IE conditional comments.

No comments :