<?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>Ryan Joy (atxryan) &#187; IE6</title>
	<atom:link href="http://ryanjoy.com/tag/ie6/feed/" rel="self" type="application/rss+xml" />
	<link>http://ryanjoy.com</link>
	<description>Web developer living and playing in Austin, Texas</description>
	<lastBuildDate>Thu, 24 May 2012 21:09:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>IE6 Countdown</title>
		<link>http://ryanjoy.com/2011/03/ie6-countdown/</link>
		<comments>http://ryanjoy.com/2011/03/ie6-countdown/#comments</comments>
		<pubDate>Fri, 04 Mar 2011 22:49:35 +0000</pubDate>
		<dc:creator>atxryan</dc:creator>
				<category><![CDATA[Shared]]></category>
		<category><![CDATA[IE6]]></category>

		<guid isPermaLink="false">http://pinboard.in/u:atxryan/b:95d110b0f2d0/</guid>
		<description><![CDATA[RT @Microsoft:It's not often that we encourage you to stop using 1 of our prods, but for #IE6, we'll make an exception: ]]></description>
			<content:encoded><![CDATA[RT @Microsoft:It's not often that we encourage you to stop using 1 of our prods, but for #IE6, we'll make an exception: ]]></content:encoded>
			<wfw:commentRss>http://ryanjoy.com/2011/03/ie6-countdown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>QuirksBlog: The iPhone obsession</title>
		<link>http://ryanjoy.com/2010/02/quirksblog-the-iphone-obsession/</link>
		<comments>http://ryanjoy.com/2010/02/quirksblog-the-iphone-obsession/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 04:36:46 +0000</pubDate>
		<dc:creator>atxryan</dc:creator>
				<category><![CDATA[Shared]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[standards]]></category>

		<guid isPermaLink="false">http://delicious.com/url/78b78be053eafee18bf777bcc50d6695#atxryan</guid>
		<description><![CDATA[&#34;More specifically, today I will shout at web developers who think that delicately inserting an iPhone up their ass is the same as mobile web development.&#34; - PPK]]></description>
			<content:encoded><![CDATA[<p>&quot;More specifically, today I will shout at web developers who think that delicately inserting an iPhone up their ass is the same as mobile web development.&quot; &#8211; PPK</p>
]]></content:encoded>
			<wfw:commentRss>http://ryanjoy.com/2010/02/quirksblog-the-iphone-obsession/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On having layout — the concept of hasLayout in IE/Win</title>
		<link>http://ryanjoy.com/2010/01/on-having-layout-%e2%80%94-the-concept-of-haslayout-in-iewin/</link>
		<comments>http://ryanjoy.com/2010/01/on-having-layout-%e2%80%94-the-concept-of-haslayout-in-iewin/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 18:18:54 +0000</pubDate>
		<dc:creator>atxryan</dc:creator>
				<category><![CDATA[Shared]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[haslayout]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://delicious.com/url/cedb2dad66430e09cec929326708422c#atxryan</guid>
		<description><![CDATA[A lot of Internet Explorer&#39;s rendering inconsistencies can be fixed by giving an element “layout.” John Gallant and Holly Bergevin classified these inconsistencies as “dimensional bugs,” meaning that they can often be solved by applying a width or height.]]></description>
			<content:encoded><![CDATA[<p>A lot of Internet Explorer&#039;s rendering inconsistencies can be fixed by giving an element “layout.” John Gallant and Holly Bergevin classified these inconsistencies as “dimensional bugs,” meaning that they can often be solved by applying a width or height.</p>
]]></content:encoded>
			<wfw:commentRss>http://ryanjoy.com/2010/01/on-having-layout-%e2%80%94-the-concept-of-haslayout-in-iewin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE 6 and 7 hit by hack attack code</title>
		<link>http://ryanjoy.com/2009/11/ie-6-and-7-hit-by-hack-attack-code/</link>
		<comments>http://ryanjoy.com/2009/11/ie-6-and-7-hit-by-hack-attack-code/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 15:38:26 +0000</pubDate>
		<dc:creator>atxryan</dc:creator>
				<category><![CDATA[Shared]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[IE 6 and 7 hit by hack attack code. IE6 and 7 have what looks like a buffer overflow vulnerability caused by a strange intersection of CSS, innerHTML and large JavaScript arrays. No exploits in the wild yet but it’s only a matter of time.
]]></description>
			<content:encoded><![CDATA[<div><p><a href="http://www.itpro.co.uk/blogs/daveyw/2009/11/22/ie-6-and-7-hit-by-hack-attack-code/">IE 6 and 7 hit by hack attack code</a>. IE6 and 7 have what looks like a buffer overflow vulnerability caused by a strange intersection of CSS, innerHTML and large JavaScript arrays. No exploits in the wild yet but it’s only a matter of time.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://ryanjoy.com/2009/11/ie-6-and-7-hit-by-hack-attack-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE 6 and 7 hit by hack attack code</title>
		<link>http://ryanjoy.com/2009/11/ie-6-and-7-hit-by-hack-attack-code-2/</link>
		<comments>http://ryanjoy.com/2009/11/ie-6-and-7-hit-by-hack-attack-code-2/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 15:38:26 +0000</pubDate>
		<dc:creator>atxryan</dc:creator>
				<category><![CDATA[Shared]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://ryanjoy.com/?guid=04445e4f4cda56abee3f31bc074de78f</guid>
		<description><![CDATA[IE 6 and 7 hit by hack attack code. IE6 and 7 have what looks like a buffer overflow vulnerability caused by a strange intersection of CSS, innerHTML and large JavaScript arrays. No exploits in the wild yet but it’s only a matter of time.
]]></description>
			<content:encoded><![CDATA[<div><p><a href="http://www.itpro.co.uk/blogs/daveyw/2009/11/22/ie-6-and-7-hit-by-hack-attack-code/">IE 6 and 7 hit by hack attack code</a>. IE6 and 7 have what looks like a buffer overflow vulnerability caused by a strange intersection of CSS, innerHTML and large JavaScript arrays. No exploits in the wild yet but it’s only a matter of time.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://ryanjoy.com/2009/11/ie-6-and-7-hit-by-hack-attack-code-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Breaking with protocol</title>
		<link>http://ryanjoy.com/2008/01/breaking-with-protocol/</link>
		<comments>http://ryanjoy.com/2008/01/breaking-with-protocol/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 05:44:37 +0000</pubDate>
		<dc:creator>Ryan Joy</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[Internet Explorer]]></category>

		<guid isPermaLink="false">http://www.atxryan.com/2008/01/22/breaking-with-protocol/</guid>
		<description><![CDATA[Are you or your users are getting a &#8220;This page contains both secure and nonsecure items&#8221; message in Internet Explorer? You might mistakenly believe that it is a problem isolated to IE, but if you check the bottom right corner of Firefox you&#8217;ll see that all is not well there either: The issue here is [...]]]></description>
			<content:encoded><![CDATA[<p>Are you or your users are getting a &#8220;This page contains both secure and nonsecure items&#8221; message in Internet Explorer?</p>
<p><img src="http://ryanjoy.com/wp-content/uploads/2008/01/20080122_security_warning.png" alt="This page contains both secure and nonsecure items: Do you want to display the nonsecure items?" /></p>
<p>You might mistakenly believe that it is a problem isolated to IE, but if you check the bottom right corner of Firefox you&#8217;ll see that all is not well there either:<br />
<img src="http://ryanjoy.com/wp-content/uploads/2008/01/20080122_security_warning_firefox.png" /></p>
<p>The issue here is a simple one to understand. The browser is rendering a page over <accronym title="Secure Sockets Layer">SSL</accronym> denoted by the https:// protocol in the address bar. However, there are elements within that page that are being served via the nonsecure http:// protocol.  These elements may be images, frames, stylesheets, javascript, etc</p>
<p>By now you might be asking how you can serve up resources to visitors over either protocol without maintaining separate sites or stylesheets.  The most obvious and easiest way to accomplish this has been to change any absolute URLs to relative paths.</p>
<p>Change:</p>
<pre><code>
&lt;img src="http://www.example.com/images/header.png" /&gt;
div#header {
  background-image: url(<a href="http://www.example.com/images/header.png" rel="nofollow">http://www.example.com/images/header.png</a>) no-repeat;
}</code></pre>
<p>To:</p>
<pre><code>
&lt;img src="/images/header.png" /&gt;
div#header {
  background-image: url(/images/header.png) no-repeat;
}</code></pre>
<p><strong>However, what happens if you maintain your static files on a separate server or sub-domain and you can not link to them using a relative URL? Is it possible to still maintain a single stylesheet (assuming, of course, that both sites are secured by trusted certificate)?</strong></p>
<p>I think so, yes.  You can link to things in a sudo-absolute manner by omitting the leading protocol. For example:</p>
<pre><code>
&lt;img src="//www.example.com/images/header.png" /&gt;
div#header {
  background-image: url(//www.example.com/images/header.png) no-repeat;
}</code></pre>
<p>I&#8217;ve only done limited testing on IE and Firefox thus far, but it seems to work fine.  I&#8217;m curious to hear anyone&#8217;s thoughts on the pros and cons of this method. Interestingly, it&#8217;s difficult to find anything that been written about this on th web.  All the keywords I try bring up nothing but whitepapers and RFCs.</p>
<p><strong>Update: 01.23.2008 5:40pm</strong></p>
<p>Ok, so after digging and digging and digging I&#8217;ve finally found what I&#8217;m looking for!  This behavior is, in fact, in the HTTP 1.1 standard as specified in <a href="http://tools.ietf.org/html/rfc2068#section-3.2.1">RFC 2068</a> and <a href="http://tools.ietf.org/html/rfc2396#appendix-A">RFC 2396</a>:</p>
<pre><code>
   URIs in HTTP can be represented in absolute form or relative to some
   known base URI, depending upon the context of their use. The two
   forms are differentiated by the fact that absolute URIs always begin
   with a scheme name followed by a colon.

          URI            = ( absoluteURI | relativeURI ) [ "#" fragment ]

          absoluteURI    = scheme ":" *( uchar | reserved )

          relativeURI    = net_path | abs_path | rel_path

          net_path       = "//" net_loc [ abs_path ]
          abs_path       = "/" rel_path
          rel_path       = [ path ] [ ";" params ] [ "?" query ]
</code></pre>
<p>When specifying a <code>relativeURI</code>, the most common usages are the <code>abs_path</code> and <code>rel_path</code> like the following:</p>
<pre><code>
/* abs_path */
div#header {
  background-image: url(/images/header.png) no-repeat;
}
&lt;!-- rel_path --&gt;
&lt;img src="images/tree.jpg" alt="Oak" /&gt;
</code></pre>
<p>However, using <code>net_path</code> to optionally include the http: or https: is apparently perfectly valid as well.  It&#8217;s so obscure or rarely used that a Google search for &#8220;net_path&#8221; will suggest that you correct your search to &#8220;set_path&#8221;.</p>
<p>It looks funny and it feels wrong, but it works.</p>
]]></content:encoded>
			<wfw:commentRss>http://ryanjoy.com/2008/01/breaking-with-protocol/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

