<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Peeled Carrots &#187; Windows</title>
	<atom:link href="http://www.peeledcarrots.com/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.peeledcarrots.com</link>
	<description>....cause life&#039;s too short to peel carrots. Enough said!!</description>
	<lastBuildDate>Tue, 03 Nov 2009 14:42:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Custom error pages on Internet Explorer</title>
		<link>http://www.peeledcarrots.com/custom-error-pages-on-internet-explorer/</link>
		<comments>http://www.peeledcarrots.com/custom-error-pages-on-internet-explorer/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 14:00:24 +0000</pubDate>
		<dc:creator>Stephen Blake</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.peeledcarrots.com/?p=209</guid>
		<description><![CDATA[Being a web developer I am often faced with the challenge of getting a website looking sweet in various types of browsers and versions of those browsers.

Each browser interprets code differently, so when one writes code which renders correctly in one browser it doesn&#8217;t necessarily render as well in another browser. The thorn in all [...]]]></description>
			<content:encoded><![CDATA[<p>Being a web developer I am often faced with the challenge of getting a website looking sweet in various types of browsers and versions of those browsers.</p>
<p><a href="http://www.mozilla.com/firefox/"><img src="http://www.g3it.com/wp-content/uploads/2009/06/firefox-300x290.jpg" alt="Firefox" title="Firefox" width="200" class="alignright size-medium wp-image-522" /></a></p>
<p>Each browser interprets code differently, so when one writes code which renders correctly in one browser it doesn&#8217;t necessarily render as well in another browser. The thorn in all web developer&#8217;s sides is good old <a href="http://www.microsoft.com/windows/internet-explorer/default.aspx">Internet Explorer 6 or IE6</a>. One can build a webpage which looks fantastic in the world&#8217;s best browser <a href="http://www.mozilla.com/firefox/">Firefox</a> (yes I am biased <img src='http://www.peeledcarrots.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) and then look at it in IE6 and it will most probably have layout issues.</p>
<p>There are numerous tricks and hacks to get web-pages looking good in IE6, so one just learns to deal with how bad the browser is. </p>
<p><strong>So, what’s the real issue?</strong></p>
<p>Just to re-enforce how bad the browser actually is, I was recently told about how Internet Explorer (all versions) have a built in default error page which will always be displayed even if you have added a customized error page to your web project.</p>
<p>What it boils down to is that if your custom error page is less than 512 bytes, it will never be rendered in IE. I seriously could not believe it when I saw the article by <a href="http://perishablepress.com/press/2008/01/21/important-note-for-your-custom-error-pages/">Jeff Starr</a>, but it&#8217;s true. So, some <a href="http://www.microsoft.com/">Microsoft </a> employee specifically wrote code to do this&#8230;one has to ask why? I mean seriously, what was the logic behind this decision? What a bunch of jokers!!!</p>
<p>To make matters worse, there even settings for this in the <a href="http://www.microsoft.com/WINDOWS/">Windoze</a> registry which differ according to the type of error&#8230;.craziness!!</p>
<p><code>\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\ErrorThresholds<br />
Error - threshold (default)<br />
400 - 512 bytes<br />
403 - 256 bytes<br />
404 - 512 bytes<br />
405 - 256 bytes<br />
406 - 512 bytes<br />
408 - 512 bytes<br />
409 - 512 bytes<br />
410 - 256 bytes<br />
500 - 512 bytes<br />
501 - 512 bytes<br />
505 - 512 bytes<br />
</code></p>
<p><strong>Useless tip of the day</strong>: Ensure that your custom error pages have enough useless content in them to <strong>make them larger than 512 bytes</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.peeledcarrots.com/custom-error-pages-on-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
