Debugging IE6 issues in the shell of IE8

As the debugging tool of IETester is quite clumsy and limited, we can debug issues with IE6 directly in the shell of IE8. The only requirement is that we have Internet Explorer Developer Toolbar installed on our machine. Here we go:

1. All versions of IE prior to 8 trigger quirks mode despite of the DTD you are using if the XML prolog is added above it, so add it *:

<?xml?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

2. Open IE Deveoper Toolbar and switch the rendering engine from IE8 to IE7 in order to trigger quirks mode via XML prolog.

3. Now your IE8 will behave exactly like IE6 with all its quirky stuff and you are ready to start fighting the hell out of it.

* Instead of adding the XML prolog, you can also switch the document mode from IE8 to Quirks Mode using IE Developer Toolbar.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s