Readers: 6 | Updated: 02-27

Doctype switching for IE 8

Translate Into:

So. A few weeks have passed since the version targeting Microsoft will introduce in IE 8 was made official and I posted my initial thoughts in Standards mode is the new quirks mode. I've had time to read many articles and hundreds of comments that discuss version targeting, and have thought some more about what it means and what I think about it.

After that thinking, my initial reaction holds: I don't buy it. It doesn't matter how many arguments in favour of version targeting I read, it still seems so utterly and completely wrong that standards aware web developers will have to opt in to opt out.

I think version targeting as it has been presented is an incredibly bad idea to force upon the minority of people in the web industry who have a clue and work hard to stay updated. If the switch was reversed, i.e. you'd have to insert the meta element if you wanted IE 7 rendering, it would make a lot more sense to me. If your site breaks in IE 8 and you can't or won't fix it, just insert a meta element and the problem is gone.

The argument against reversing the switch is that the clueless are too clueless to ever find out that there is an easy way for them to force IE back to IE 7 rendering. That may be true, but why should we let people who refuse to keep their skills updated get away with it?

Make doctype switching stricter

An idea that makes much more sense than forcing standards aware developers to opt in to opt out was put forward in WaSP Round Table: IE8's Default Version Targeting Behavior. The idea is to keep using the doctype to switch modes, but require a strict doctype with a full URL for standards mode. I like that.

I don't have any statistics to back it up, but my gut feeling is that most of the sites that accidentally trigger standards mode today (and would be most likely to break in IE 8) have either a transitional doctype or an XHTML 1.1 doctype. So unless there are statistics that prove that theory wrong, why not simply let the absence of a strict doctype (HTML 4.01 or XHTML 1.0) be what makes IE 8 pretend it's IE 7?

I believe that many of the people who argue against the version targeting switch would say "Yeah, that seems like a good idea, let's do that." I know I would.

Realistically though, I doubt it matters what you or I think or say. In the end we'll all have to do whatever Microsoft tells us to do. Either that or keep pulling our hair out while dealing with CSS and DOM bugs in IE 7 forever.

Visit site to read or post comments…

Add 456 Berea Street to your Technorati favorites.

Posted in , .



From The Blogs

Fashion Innovation,Digital Products

2007
诺基亚N80ie:手机音乐的最佳演绎者
由于这个星期市面上闹得沸沸扬扬的众多音乐手机,让我开始想要研究一下我那已经使用了几个星期的Nokia N80ie的音乐功能了。我一般都是在线听音乐的:从Zune Marketplace, Pandor... 查看全文

Dare Obasanjo aka Carnage4Life

03-05
IE 8 Will Do the Right Thing
Dean Hachamovitch who runs the Internet Explorer team has a blog post entitled Microsoft'sInteroperability Principles and IE8 where he addresses some of the recentcontroversy about how rendering pages... 查看全文

Internet Observation

2007
IEPS*IE version image processing tool
Online image processing system, it is worth seeing.Link: http://www.iephotoshop.com 查看全文

UILOOK - 一翔的BLOG - Usability

2007
Vista和IE7下,我们该如何定义网页字体
VISTA临近,自己也装上了IE7提前感受一下。Cleartype技术确实让人眼前一亮,尤其是在液 晶显示器下。可是看了一段时间半像素半Cleartype形式的组合字体后,眼睛确实很累。突然想到,VI... 查看全文

Lifehacker

03-05
Add Feeds to Google Reader in IE7 with a Bookmark [Feeds]
Internet Explorer 7 might have some chops when it comes to handling and organizing RSS feeds, but dedicated Google Reader fans don't get much love from the browser—there's no option in the inter... 查看全文

Product Reviews Net

03-07
Internet Explorer 8 Beta released today: what is new about IE 8?
Today is the launch of Internet Explorer 8 Beta; the download is now available from the Microsoft website. The IE 8 Beta is aimed at developers, Microsoft is asking for people to go and try out their ... 查看全文

Mashable!

03-07
Should Firefox Be Scared of IE8?
Im looking at IE 8 features which were presented at MIX and once again I see a whole lot of catching up and very little innovation. When your biggest accomplishment is standards compliance - and were ... 查看全文

InfoWorld RSS Feed

03-09
Opera: IE8's changes don't let Microsoft off legal hook
Microsoft's rivals have applauded some of what they've seen in the new Internet Explorer 8 (IE8), but the browser maker that's complained to antitrust regulators in Europe said the changes don't addre... 查看全文

Download Squad

04-08
Toggle Flash: Add-on to disable Flash in IE 7
Filed under: Internet, Utilities, Windows, FreewareFlash, like most things in life, has its good and its bad. The good: it's hard to imagine interactive content on the web without Flash. The bad: it's... 查看全文

IT业界资讯

05-28
网页浏览器 火狐IE对呛
随着愈来愈多计算机的功能转移到网页上,网页浏览器的地位愈形重要,沈寂已久的浏览器战争即将卷土重来。从网景(Netscape)的灰烬中站起来的Mozilla基金会,下个月将正式推出耗时三年研发的火狐浏览... 查看全文
More Articles
Elanso is a professional online platform which provides translation service for corporate or individule clients, opportunities for translation practice and translation jobs, and translation tool/software-download. Our online translators provide about 186 languages' translation service, including Japanese,Korean, French, German, Spanish, etc, among which, 20,000 are English translators. And some big translation service companies in Shanghai, Beijing, Nanjing also registered here.