<?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>fligtar&#039;s blog &#187; html</title>
	<atom:link href="http://blog.fligtar.com/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.fligtar.com</link>
	<description>a boombox is not a toy</description>
	<lastBuildDate>Tue, 10 Aug 2010 23:51:04 +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>More like tstupid</title>
		<link>http://blog.fligtar.com/2007/05/02/more-like-tstupid/</link>
		<comments>http://blog.fligtar.com/2007/05/02/more-like-tstupid/#comments</comments>
		<pubDate>Wed, 02 May 2007 07:33:23 +0000</pubDate>
		<dc:creator>Justin Scott (fligtar)</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://blog.fligtar.com/2007/05/02/more-like-tstupid/</guid>
		<description><![CDATA[I spent a half hour trying to figure out why my site was rendering perfectly in Firefox, but not at all in IE7. I went through the trouble of finding the Microsoft Script Debugger (did I mention Firefox comes with a Javascript/CSS Debugger?) to find that it wasn&#8217;t a JavaScript error. I resorted to the [...]]]></description>
			<content:encoded><![CDATA[<p>I spent a half hour trying to figure out why my site was rendering perfectly in Firefox, but not at all in IE7. I went through the trouble of finding the Microsoft Script Debugger (did I mention Firefox comes with a Javascript/CSS Debugger?) to find that it wasn&#8217;t a JavaScript error. I resorted to the Google, which led me to my solution. I vaguely remember encountering this problem a few years ago as well, but apparently didn&#8217;t learn my lesson.</p>
<p>You can&#8217;t add tr&#8217;s to a table in IE. You have to add it to a tbody. ERGO, this does not work:</p>
<blockquote><pre>
var table = document.createElement('table');
var tr = document.createElement('tr');
var td = document.createElement('td');

td.innerHTML = 'IE sucks';

tr.appendChild(td);
table.appendChild(tr);
</pre>
</blockquote>
<p>You must do this instead:</p>
<blockquote><pre>
var table = document.createElement('table');
var tbody = document.createElement('tbody');
var tr = document.createElement('tr');
var td = document.createElement('td');

td.innerHTML = 'IE sucks';

tr.appendChild(td);
tbody.appendChild(tr);
table.appendChild(tbody);
</pre>
</blockquote>
<p>Indeed.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.fligtar.com/2007/05/02/more-like-tstupid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
