<?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>The Web Development Blog &#187; Internet Explorer</title>
	<atom:link href="http://www.thewebdevelopmentblog.com/tag/internet-explorer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thewebdevelopmentblog.com</link>
	<description>News, tips, scripts and tutorials for web developers.</description>
	<lastBuildDate>Thu, 25 Aug 2011 11:15:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Why does Microsoft refuse to listen to it&#8217;s consumers?</title>
		<link>http://www.thewebdevelopmentblog.com/2009/08/browsers-why-does-microsoft-refuse-to-listen-to-its-consumers/</link>
		<comments>http://www.thewebdevelopmentblog.com/2009/08/browsers-why-does-microsoft-refuse-to-listen-to-its-consumers/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 12:36:25 +0000</pubDate>
		<dc:creator>Jason Stockton</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[outlook]]></category>

		<guid isPermaLink="false">http://thewebdevelopmentblog.com/?p=279</guid>
		<description><![CDATA[Okay, I&#8217;m probably not the best person to talk on behalf  of Microsoft&#8217;s consumers as I don&#8217;t actually touch anything Microsoft apart from Internet Explorer to test sites in. The reason I&#8217;m not is because of this same question that remains unanswered. Why won&#8217;t they listen to consumers? In particular web developers: Why does Outlook [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, I&#8217;m probably not the best person to talk on behalf  of Microsoft&#8217;s consumers as I don&#8217;t actually touch anything Microsoft apart from Internet Explorer to test sites in. The reason I&#8217;m not is because of this same question that remains unanswered. Why won&#8217;t they listen to consumers? In particular web developers: Why does Outlook not support all CSS and why doesn&#8217;t IE follow W3C standards?</p>
<p><span id="more-279"></span></p>
<p>We&#8217;re really not asking a lot. In fact we want to save them time and money in the long run. Microsoft needs to learn that it doesn&#8217;t need to do everything itself and open source projects such as Mozilla and WebKit are there for the taking. They just need to pick them up and they&#8217;re ready to go. What puzzles me about it all is it&#8217;s not a difficult thing for Microsoft to adopt one of these browser engines and build on them. They&#8217;re already more secure then IE will ever be, they work with WC3 standards and they don&#8217;t need to spend their money on developing something that seems like it will never actually be competitive with other browsers. They have the oldest and slowest browser on the market. See the results below from <a href="http://service.futuremark.com/peacekeeper/index.action" target="_blank">Peacekeeper</a>.</p>
<p><img class="alignnone size-full wp-image-282" title="Peacekeeper Benchmark" src="http://thewebdevelopmentblog.com/wp-content/uploads/2009/08/Picture-21.png" alt="Peacekeeper Benchmark" width="696" height="551" /></p>
<p>They&#8217;re pretty dismal results, clearly the browser has passed it&#8217;s use by. There has been call outs everywhere for Microsoft to adopt one of the many browser engines yet they just flat out refuse to do it.</p>
<p>Internet Explorer is not the only product that they&#8217;re refusing to make web developer/user friendly and follow the standards. Outlook does not fully support CSS. Anyone who has ever made a HTML campaign with CSS will know how impossible it is to format and do the simplest thing without it looking like scrambled eggs in recent versions of Outlook. This inspired the wonderful <a href="http://fixoutlook.org" target="_blank">fixoutlook.org</a>. Back in 2000 they supported HTML now they&#8217;re using some terrible Word engine and for what? Here&#8217;s where I&#8217;m coming from, at what point do WORD and HTML even meet up. It doesn&#8217;t make sense. Why would you use a Word processor to render HTML? I don&#8217;t think this needs an explanation at all. It&#8217;s pretty straight forward, render HTML with a browser style engine, that&#8217;s what they&#8217;re built for.</p>
<p>So they say <a href="http://www.email-standards.org/blog/entry/the-fix-outlook-mosaic-is-on-the-wall-at-microsoft/" target="_blank">they&#8217;re listening</a>, but I&#8217;m not sure that they are. The letter on <a href="http://www.email-standards.org/blog/entry/the-fix-outlook-mosaic-is-on-the-wall-at-microsoft/" target="_blank">this link</a> doesn&#8217;t make sense. It shouldn&#8217;t even be a hard decision, support HTML, support standards. They&#8217;re there for a reason.</p>
<p>Feel free to have your say, I just wanted to share my opinion.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thewebdevelopmentblog.com/2009/08/browsers-why-does-microsoft-refuse-to-listen-to-its-consumers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding the X &amp; Y coordinates of an element relative to the entire page using Javascript</title>
		<link>http://www.thewebdevelopmentblog.com/2009/06/tip-getting-the-x-y-coordinates-of-an-element-relative-to-the-entire-page-using-javascript/</link>
		<comments>http://www.thewebdevelopmentblog.com/2009/06/tip-getting-the-x-y-coordinates-of-an-element-relative-to-the-entire-page-using-javascript/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 08:16:48 +0000</pubDate>
		<dc:creator>Jason Stockton</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Prototype]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://thewebdevelopmentblog.com/?p=187</guid>
		<description><![CDATA[It&#8217;s really easy to get the position of an element relative to it&#8217;s parent element, but what if you wanted to get it&#8217;s position relative to the entire page (viewport)? There&#8217;s no javascript call to do this, but here is a function to get the elements x &#38; y coordinates. If you use the prototype [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s really easy to get the position of an element relative to it&#8217;s parent element, but what if you wanted to get it&#8217;s position relative to the entire page (viewport)? There&#8217;s no javascript call to do this, but here is a function to get the elements x &amp; y coordinates.</p>
<p><span id="more-187"></span></p>
<p>If you use the <a href="http://www.prototypejs.org" target="_blank">prototype javascript framework</a> there is a call built in! Handy&#8230;</p>
<p><strong>Here&#8217;s the code for Prototype users:</strong></p>
<p><code>var pos = $("<em>elementID</em>").viewportOffset();<br />
var x = pos[0];<br />
var y = pos[1];</code></p>
<p>Nice and easy&#8230;</p>
<p>For those of you who <strong>don&#8217;t</strong> use prototype, below is a function you can use to get the X &amp; Y coordinates relative to the page (viewport).</p>
<p><strong>The Function:</strong></p>
<pre><code>function viewportOffset(forElement) {
	var valueT = 0, valueL = 0;&lt;
	var element = document.getElementById(forElement);
	do {
		valueT += element.offsetTop  || 0;
		valueL += element.offsetLeft || 0;
		if (element.offsetParent == document.body) break;
	} while (element = element.offsetParent);
	element = forElement;
	do {
		if (element.tagName == 'BODY') {
			valueT -= element.scrollTop  || 0;
			valueL -= element.scrollLeft || 0;
		}
	} while (element = element.parentNode);
	return [valueL, valueT];
}</code></pre>
<p><em>This is a modified function from the </em><em><a href="http://www.prototypejs.org" target="_blank">prototype framework</a></em>.</p>
<p><strong>Calling The Function:</strong></p>
<p><code>var pos = viewportOffset("<em>elementID</em>");<br />
var x = pos[0];<br />
var y = pos[1];</code></p>
<p>I tried several of the functions on various blogs etc none of them seemed to return anything but 0 in Safari. The above has been tested and works in the latest versions Safari, Firefox, IE and Opera.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thewebdevelopmentblog.com/2009/06/tip-getting-the-x-y-coordinates-of-an-element-relative-to-the-entire-page-using-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE transparency/opacity issues.</title>
		<link>http://www.thewebdevelopmentblog.com/2008/12/tip-ie-transparencyopacity-issues/</link>
		<comments>http://www.thewebdevelopmentblog.com/2008/12/tip-ie-transparencyopacity-issues/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 02:22:13 +0000</pubDate>
		<dc:creator>Jason Stockton</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Internet Explorer Bug]]></category>

		<guid isPermaLink="false">http://thewebdevelopmentblog.com/?p=154</guid>
		<description><![CDATA[Recently I came across some issues with Internet Explorers transparency. When I applied transparency to a div on one of my sites with the IE CSS it didn&#8217;t apply any transparency. There was no problems with the code, it was all correct, IE just didn&#8217;t want to apply the transparency. The CSS I was using [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I came across some issues with Internet Explorers transparency. When I applied transparency to a div on one of my sites with the IE CSS it didn&#8217;t apply any transparency. There was no problems with the code, it was all correct, IE just didn&#8217;t want to apply the transparency.</p>
<p><span id="more-154"></span></p>
<p>The CSS I was using looks similar to this:</p>
<p><code>filter: alpha(opacity=50);</code></p>
<p>With Internet Explorer your opacity range goes from 0-100, so 50 should set the opacity to 50%. Of course it didn&#8217;t.</p>
<p><strong>The Solution:</strong></p>
<p>After hours of pulling out my hair, the problem was simply that the div didn&#8217;t have a width specified. The problem appears to be in all versions of Internet Explorer, even in IE8 beta. So if you&#8217;re having the same problem just specify a width for the element you are applying the transparency/opacity to and it should once again apply the transparency correctly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thewebdevelopmentblog.com/2008/12/tip-ie-transparencyopacity-issues/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Small height divs in Internet Explorer</title>
		<link>http://www.thewebdevelopmentblog.com/2008/10/tip-small-height-divs-in-internet-explorer/</link>
		<comments>http://www.thewebdevelopmentblog.com/2008/10/tip-small-height-divs-in-internet-explorer/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 06:21:10 +0000</pubDate>
		<dc:creator>Jason Stockton</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Internet Explorer]]></category>

		<guid isPermaLink="false">http://thewebdevelopmentblog.com/?p=131</guid>
		<description><![CDATA[If you want to make a div of a height smaller then around 10px, often in Internet Explorer will not make the div any smaller than around 12px. This is a real pain if you want to use div&#8217;s to create lines and various other things. Thankfully I&#8217;m here to tell you how to get [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to make a div of a height smaller then around 10px, often in Internet Explorer will not make the div any smaller than around 12px. This is a real pain if you want to use div&#8217;s to create lines and various other things. Thankfully I&#8217;m here to tell you how to get around this problem.</p>
<p><span id="more-131"></span></p>
<p><strong>The Solution</strong></p>
<p>All you need to do is in your CSS is set the overflow as hidden.</p>
<p><code>overflow: hidden;</code></p>
<p>Here&#8217;s an inline example.</p>
<p><code>&lt;div style="width:100%; height:1px; overflow:hidden; background-color:#000;"&gt;&lt;/div&gt;</code></p>
<p><strong>So why won&#8217;t Internet Explorer let it go less then 12px without this?</strong></p>
<p>When you make a div in IE it will automatically stretch to the size of the content and not the height that you&#8217;ve set in your CSS. In typical IE fashion, it will always think there is text inside the div even when there isn&#8217;t, thus forcing the div to fit the size font you have set. Telling it to hide the overflow will then tell it &#8220;we don&#8217;t care if it goes over, just hide it!&#8221; fixing our problem. You can also change the font-size to smaller which IE will then allow the div to shrink to the height of the smaller font-size you&#8217;ve set. The overflow option is probably better, but both will do the trick. Now we have solved another Internet Explorer problem&#8230; There&#8217;s still more to come, so keep a look out!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thewebdevelopmentblog.com/2008/10/tip-small-height-divs-in-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to remove the gap underneath images in IE</title>
		<link>http://www.thewebdevelopmentblog.com/2008/10/tips-how-to-remove-the-gap-underneath-images-in-ie/</link>
		<comments>http://www.thewebdevelopmentblog.com/2008/10/tips-how-to-remove-the-gap-underneath-images-in-ie/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 09:35:51 +0000</pubDate>
		<dc:creator>Jason Stockton</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Internet Explorer]]></category>

		<guid isPermaLink="false">http://thewebdevelopmentblog.com/?p=85</guid>
		<description><![CDATA[Internet Explorer has a terrible habit of putting gaps underneath images if you have a space after the image code. It&#8217;s quite annoying when trying to line images up on top of each other and keep your code neat. Thankfully there&#8217;s an easy fix! The Cure: Add the following to your CSS style sheet. img [...]]]></description>
			<content:encoded><![CDATA[<p>Internet Explorer has a terrible habit of putting gaps underneath images if you have a space after the image code. It&#8217;s quite annoying when trying to line images up on top of each other and keep your code neat. Thankfully there&#8217;s an easy fix!</p>
<p><span id="more-85"></span></p>
<div id="attachment_88" class="wp-caption alignnone" style="width: 310px"><a href="http://thewebdevelopmentblog.com/wp-content/uploads/2008/10/before.jpg"><img class="size-medium wp-image-88" title="Before" src="http://thewebdevelopmentblog.com/wp-content/uploads/2008/10/before-300x157.jpg" alt="Before" width="300" height="157" /></a><p class="wp-caption-text">Before Fix</p></div>
<div id="attachment_87" class="wp-caption alignnone" style="width: 310px"><a href="http://thewebdevelopmentblog.com/wp-content/uploads/2008/10/after.jpg"><img class="size-medium wp-image-87" title="After" src="http://thewebdevelopmentblog.com/wp-content/uploads/2008/10/after-300x155.jpg" alt="After" width="300" height="155" /></a><p class="wp-caption-text">After Fix</p></div>
<p><strong>The Cure:</strong></p>
<p>Add the following to your CSS style sheet.</p>
<pre><code>img {
	display: block;
}</code></pre>
<p>That will automatically apply the correct styling to all your images.</p>
<p><strong>NOTE:</strong> You can not have images side by side with this styling, they will automatically drop underneath each other. If you need them side by side you can do so by putting it in a table or using CSS.</p>
<p>If you only want to apply the style to some images you can add the following to your image tags.</p>
<p><code>style="display:block;"</code></p>
<p>This will apply the style to the image who&#8217;s tag you have placed it in.</p>
<p><strong>So why does Internet Explorer put the gap there in the first place?</strong></p>
<p>Well IE sets the default display as &#8220;inline&#8221; which effectively places the image inline with the text. The problem with this is there is a gap underneath text for letters that go under the line (i.e. j p q etc.). IE then proceeds to line up the text and the image as per the image below.</p>
<div id="attachment_89" class="wp-caption alignnone" style="width: 242px"><a href="http://thewebdevelopmentblog.com/wp-content/uploads/2008/10/inline.jpg"><img class="size-medium wp-image-89" title="inline" src="http://thewebdevelopmentblog.com/wp-content/uploads/2008/10/inline-232x300.jpg" alt="Image Inline With Text" width="232" height="300" /></a><p class="wp-caption-text">Image Inline With Text</p></div>
<p>This leaves an annoying gap underneath images even when there is no text featured. Just another way Internet Explorer is making our life that little bit harder.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thewebdevelopmentblog.com/2008/10/tips-how-to-remove-the-gap-underneath-images-in-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

