<?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>dawnerd &#187; Internet Explorer</title>
	<atom:link href="http://dawnerd.com/tag/internet-explorer/feed/" rel="self" type="application/rss+xml" />
	<link>http://dawnerd.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Fri, 13 Aug 2010 18:20:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Making Internet Explorer HTML 5 Ready</title>
		<link>http://dawnerd.com/post/94_making-internet-explorer-html-5-ready/</link>
		<comments>http://dawnerd.com/post/94_making-internet-explorer-html-5-ready/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 18:49:19 +0000</pubDate>
		<dc:creator>Troy Whiteley</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[browser quirks]]></category>
		<category><![CDATA[HTML 5]]></category>
		<category><![CDATA[Internet Explorer]]></category>

		<guid isPermaLink="false">http://dawnerd.com/?p=94</guid>
		<description><![CDATA[I&#8217;m going to come right out and say that it&#8217;s likely to take IE years before we see native HTML 5 support. However, that doesn&#8217;t mean we should ignore HTML 5 until IE gets with the program. If you&#8217;ve tried &#8230; <a href="http://dawnerd.com/post/94_making-internet-explorer-html-5-ready/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m going to come right out and say that it&#8217;s likely to take IE years before we see native HTML 5 support. However, that doesn&#8217;t mean we should ignore HTML 5 until IE gets with the program.</p>
<p>If you&#8217;ve tried to mess around with HTML 5 in IE, you may have noticed that the new elements do not work correctly with css. Luckily for us, we can use a tiny bit of Javascript to trick IE into rending the HTML 5 elements correctly.</p>
<p><span id="more-94"></span></p>
<pre>
<code>
document.createElement('header');
document.createElement('footer');
document.createElement('aside');
document.createElement('nav');
document.createElement('article');
document.createElement('section');
</code>
</pre>
<p>The above snippet of Javascript will enable HTML 5 support for the following elements: <code>header, footer, aside, nav, article, section</code>. Should you need support for another element, just use the createElement function and set the parameter to be the element name.</p>
<p>Remember that you should only include the JS file with the &#8216;HTML 5 emulation&#8217; code on IE.</p>
<p>Our next task in a later post is to emulate the <code>video</code> and <code>audio</code> elements.</p>
]]></content:encoded>
			<wfw:commentRss>http://dawnerd.com/post/94_making-internet-explorer-html-5-ready/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
