<?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>Jorge Pedret &#187; IE7</title>
	<atom:link href="http://jorgepedret.com/tag/ie7/feed/" rel="self" type="application/rss+xml" />
	<link>http://jorgepedret.com</link>
	<description>Freelance Web Developer + Front End Designer</description>
	<lastBuildDate>Wed, 16 May 2012 21:32:37 +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>CSS won&#8217;t style my HTML5 markup in Internet Explorer!</title>
		<link>http://jorgepedret.com/web-development/html5-web-development/css-wont-style-my-html5-markup-in-internet-explorer/</link>
		<comments>http://jorgepedret.com/web-development/html5-web-development/css-wont-style-my-html5-markup-in-internet-explorer/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 02:34:44 +0000</pubDate>
		<dc:creator>Jorge Pedret</dc:creator>
				<category><![CDATA[html5]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[ie8]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[new html5 tags]]></category>

		<guid isPermaLink="false">http://jorgepedret.com/?p=169</guid>
		<description><![CDATA[You built your whole website using html5 new shiny tags, you're so proud of yourself, it looks great in your development browser. Time to give it a test in Internet Explorer to see what it looks like. It looks a lot worst than you was expecting... What the heck is going on?

Make html5 work under ie6, ie7 &#038; ie8 by adding this small JavaScript code.]]></description>
			<content:encoded><![CDATA[<p>You built your whole website using html5 new shiny tags, you&#8217;re so proud of yourself, it looks great in your development browser!!</p>
<p>It&#8217;s finally time to give it a test in Internet Explorer, let&#8217;s see how it looks like&#8230;</p>
<p>WHAT??? That looks a lot worst than I was expecting&#8230; What the heck is going on?</p>
<p>You try changing your css, but explorer doesn&#8217;t change at all&#8230; You verify if you&#8217;re actually working on the right file, and yes in deed, you are. You try to add some basic css properties, but again, it doesn&#8217;t change a bit. The problem is&#8230;</p>
<h3>Internet Explorer completely ignores html5 new tags</h3>
<p>OMG! Until when this stupid browser is going to give me head aches &#8211; you say out loud.</p>
<p>At this point you have two options:</p>
<ol>
<li>Change your entire markup and css to use old tags</li>
<li>Use Remy Sharp&#8217;s fix. The only downsize: It completely depends on Javascript</li>
</ol>
<p>IE simply ignores all the elements it doesn&#8217;t recognize, regardless of CSS. By using javascript&#8217;s function document.createElement(), we iterate through the markup and recreate all the tags that are not recognized by IE.</p>
<h3>Quick copy/paste solution</h3>
<p>Here is the code taken directly from <a href="http://remysharp.com/2009/01/07/html5-enabling-script/">Remy&#8217;s site</a>:</p>
<pre class="brush: jscript; title: ; notranslate">
&lt;!--[if IE]&gt;
&lt;script src=&quot;http://html5shim.googlecode.com/svn/trunk/html5.js&quot;&gt;&lt;/script&gt;
&lt;![endif]--&gt;
</pre>
<p>I&#8217;m thinking it might be a good idea to condition the code to IE versions lower than 8, since IE9 will have html5 support and it might be coming soon, but that&#8217;s up to you:</p>
<pre class="brush: jscript; title: ; notranslate">
&lt;!--[if lte IE 8]&gt;
&lt;script src=&quot;http://html5shim.googlecode.com/svn/trunk/html5.js&quot;&gt;&lt;/script&gt;
&lt;![endif]--&gt;
</pre>
<p>I feel stupid for not being aware and for not testing earlier in IE. It took me a while to figure out what was going on.</p>
<p>Get more information from this sites:<br />
<a href="http://net.tutsplus.com/tutorials/html-css-techniques/how-to-make-all-browsers-render-html5-mark-up-correctly-even-ie6/">http://net.tutsplus.com/tutorials/html-css-techniques/how-to-make-all-browsers-render-html5-mark-up-correctly-even-ie6/</a><br />
<a href="http://remysharp.com/2009/01/07/html5-enabling-script/">http://remysharp.com/2009/01/07/html5-enabling-script/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jorgepedret.com/web-development/html5-web-development/css-wont-style-my-html5-markup-in-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fix z-index problem in ie7 with jQuery?</title>
		<link>http://jorgepedret.com/web-development/how-to-fix-z-index-problem-in-ie7-with-jquery/</link>
		<comments>http://jorgepedret.com/web-development/how-to-fix-z-index-problem-in-ie7-with-jquery/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 03:50:47 +0000</pubDate>
		<dc:creator>Jorge Pedret</dc:creator>
				<category><![CDATA[bug]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[z-index]]></category>

		<guid isPermaLink="false">http://www.jorgepedret.com/blog/?p=5</guid>
		<description><![CDATA[A quick post, I was just having problems in my website with my beautiful picture showing on top of everything. It was showing fine in FF but in Internet Explorer 7 it was showing behind, so you could only see like half of my face and that&#8217;s not fare for anyone. I found this cool [...]]]></description>
			<content:encoded><![CDATA[<p>A quick post, I was just having problems in my website with my beautiful picture showing on top of everything. It was showing fine in FF but in Internet Explorer 7 it was showing behind, so you could only see like half of my face and that&#8217;s not fare for anyone.</p>
<p>I found this <a class="external" title="Vance Lucas Website" rel="colleage" href="http://www.vancelucas.com/blog/fixing-ie7-z-index-issues-with-jquery/" target="_blank">cool website</a> where I read that ie7 does something weird with the stack order when it renders the page and solves the problem using jQuery. Surprisingly I just copied and pasted the code (after analyzing it of course) and it fixed my problem!</p>
<p>Here is the code! for more details on this solution go to <a href="http://www.vancelucas.com/blog/fixing-ie7-z-index-issues-with-jquery/" target="_blank">Vance Lucas Website</a></p>
<pre class="brush: jscript; title: ; notranslate">

$(function() {
	var zIndexNumber = 1000;
	$('div').each(function() {
		$(this).css('zIndex', zIndexNumber);
		zIndexNumber -= 10;
	});
});
</pre>
]]></content:encoded>
			<wfw:commentRss>http://jorgepedret.com/web-development/how-to-fix-z-index-problem-in-ie7-with-jquery/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

