<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Reserved ID Values?</title>
	<atom:link href="http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/feed/" rel="self" type="application/rss+xml" />
	<link>http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/</link>
	<description>Things that Eric A. Meyer, CSS expert, writes about on his personal Web site; it&#039;s largely Web standards and Web technology, but also various bits of culture, politics, personal observations, and other miscellaneous stuff</description>
	<lastBuildDate>Tue, 18 Jun 2013 15:30:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Clive Holloway</title>
		<link>http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-655780</link>
		<dc:creator>Clive Holloway</dc:creator>
		<pubDate>Sat, 31 Mar 2012 06:50:59 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-655780</guid>
		<description><![CDATA[You can add &quot;bottom&quot; to the list - possibly not global, but definitely an issue for Facebook apps:

https://developers.facebook.com/bugs/210289425741983]]></description>
		<content:encoded><![CDATA[<p>You can add &#8220;bottom&#8221; to the list &#8211; possibly not global, but definitely an issue for Facebook apps:</p>
<p><a href="https://developers.facebook.com/bugs/210289425741983" rel="nofollow">https://developers.facebook.com/bugs/210289425741983</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo Zea</title>
		<link>http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-541413</link>
		<dc:creator>Ricardo Zea</dc:creator>
		<pubDate>Mon, 28 Feb 2011 16:13:41 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-541413</guid>
		<description><![CDATA[And another one: id=&quot;container&quot;.

For some reason it&#039;s giving a JS error when using jQuery Kwicks widget and the widget is inside the main container with the id I mentioned above.

If I change the name just by one character, any character, the JS error goes away and everything works fine.

Funny thing is that I have this id in all my pages working fine.

This happened to me in IE6, IE7 and IE8.

&lt;b&gt;Solution:&lt;/b&gt;

The only way to solve this problem was to change word &#039;container&#039; in the script to something else, I did &#039;container2&#039;.

This should not be the widget&#039;s fault, it works perfectly in all other browsers by default. I had to change the script because I couldn&#039;t change the id of the main container of all the pages of my site.

Thanks.]]></description>
		<content:encoded><![CDATA[<p>And another one: id=&#8221;container&#8221;.</p>
<p>For some reason it&#8217;s giving a JS error when using jQuery Kwicks widget and the widget is inside the main container with the id I mentioned above.</p>
<p>If I change the name just by one character, any character, the JS error goes away and everything works fine.</p>
<p>Funny thing is that I have this id in all my pages working fine.</p>
<p>This happened to me in IE6, IE7 and IE8.</p>
<p><b>Solution:</b></p>
<p>The only way to solve this problem was to change word &#8216;container&#8217; in the script to something else, I did &#8216;container2&#8242;.</p>
<p>This should not be the widget&#8217;s fault, it works perfectly in all other browsers by default. I had to change the script because I couldn&#8217;t change the id of the main container of all the pages of my site.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Rousch</title>
		<link>http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-431773</link>
		<dc:creator>Ben Rousch</dc:creator>
		<pubDate>Fri, 19 Dec 2008 19:12:21 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-431773</guid>
		<description><![CDATA[And yet another one: id=&quot;category&quot;]]></description>
		<content:encoded><![CDATA[<p>And yet another one: id=&#8221;category&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Barnes</title>
		<link>http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-316396</link>
		<dc:creator>Matthew Barnes</dc:creator>
		<pubDate>Thu, 07 Feb 2008 20:31:10 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-316396</guid>
		<description><![CDATA[Here&#039;s another one:

id=&quot;version&quot;

Man this gave me headaches.  A list of these conflicts published by MS would be nice.

-Matthew]]></description>
		<content:encoded><![CDATA[<p>Here&#8217;s another one:</p>
<p>id=&#8221;version&#8221;</p>
<p>Man this gave me headaches.  A list of these conflicts published by MS would be nice.</p>
<p>-Matthew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bernd Matzner</title>
		<link>http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-281632</link>
		<dc:creator>Bernd Matzner</dc:creator>
		<pubDate>Fri, 14 Dec 2007 18:23:59 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-281632</guid>
		<description><![CDATA[Hi,

I just found another one:

&quot;box&quot;

Gave me a hard time in IE when I was doing some element offset calculations which were wrapped in a 

After renaming it, everything was fine again.

Bernd]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I just found another one:</p>
<p>&#8220;box&#8221;</p>
<p>Gave me a hard time in IE when I was doing some element offset calculations which were wrapped in a </p>
<p>After renaming it, everything was fine again.</p>
<p>Bernd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Printing error in IE at /dev/caffeine</title>
		<link>http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-95720</link>
		<dc:creator>Printing error in IE at /dev/caffeine</dc:creator>
		<pubDate>Thu, 22 Feb 2007 14:48:37 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-95720</guid>
		<description><![CDATA[[...] in stumbling around trying to find some clue as to what the problem is, I came across this &#8230; It seems that id=&quot;tags&quot; ends up conflicting with some builtin function in IE that&#8217;s [...]]]></description>
		<content:encoded><![CDATA[<p>[...] in stumbling around trying to find some clue as to what the problem is, I came across this &#8230; It seems that id=&#8221;tags&#8221; ends up conflicting with some builtin function in IE that&#8217;s [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajaxian &#187; Thomas Fuchs - Combining Advanced JavaScript/DOM techniques to Enhance Use Experience</title>
		<link>http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-28034</link>
		<dc:creator>Ajaxian &#187; Thomas Fuchs - Combining Advanced JavaScript/DOM techniques to Enhance Use Experience</dc:creator>
		<pubDate>Thu, 11 May 2006 18:11:59 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-28034</guid>
		<description><![CDATA[[...] reserved ids and IE - don&#039;t use &quot;length&quot;, &quot;item&quot;, &quot;namedItem&quot;, &quot;tags&quot;, &quot;urns&quot; as ids - see Eric Meyer&#039;s entry on this 	watch our for trailing commas in javascript anon [...]]]></description>
		<content:encoded><![CDATA[<p>[...] reserved ids and IE &#8211; don&#8217;t use &#8220;length&#8221;, &#8220;item&#8221;, &#8220;namedItem&#8221;, &#8220;tags&#8221;, &#8220;urns&#8221; as ids &#8211; see Eric Meyer&#8217;s entry on this 	watch our for trailing commas in javascript anon [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: perv</title>
		<link>http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-8034</link>
		<dc:creator>perv</dc:creator>
		<pubDate>Fri, 04 Nov 2005 20:22:12 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-8034</guid>
		<description><![CDATA[I just recently ran into this problem and came across this article. In my case an ID named &quot;contain&quot; was the culprit. Any idea what this would have been conflicting with?]]></description>
		<content:encoded><![CDATA[<p>I just recently ran into this problem and came across this article. In my case an ID named &#8220;contain&#8221; was the culprit. Any idea what this would have been conflicting with?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reserved ID Values in IE/Win - 
Shruti Gupta Blog - Articles on Website Development and more</title>
		<link>http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-7992</link>
		<dc:creator>Reserved ID Values in IE/Win - 
Shruti Gupta Blog - Articles on Website Development and more</dc:creator>
		<pubDate>Thu, 03 Nov 2005 12:32:27 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-7992</guid>
		<description><![CDATA[[...] w other reserved ID values that causes some sort of problems in IE/Win. Here, is a list of reserved ID values (Please note that I have tested only ID value &amp;#8 [...]]]></description>
		<content:encoded><![CDATA[<p>[...] w other reserved ID values that causes some sort of problems in IE/Win. Here, is a list of reserved ID values (Please note that I have tested only ID value &amp;#8 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Watt</title>
		<link>http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-7547</link>
		<dc:creator>Justin Watt</dc:creator>
		<pubDate>Wed, 26 Oct 2005 20:29:06 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-7547</guid>
		<description><![CDATA[Eric, I thought I&#039;d add that the following three examples using &lt;code&gt;name=&quot;tags&quot;&lt;/code&gt; also cause the &lt;code&gt;id=&quot;tags&quot;&lt;/code&gt; printing bug in IE. 

&lt;code&gt;&lt;a name=&quot;tags&quot;/&gt;&lt;/code&gt;

&lt;code&gt;&lt;a name=&quot;tags&quot;&gt;&lt;/a&gt;&lt;/code&gt;

&lt;code&gt;&lt;a name=&quot;tags&quot;&gt;test&lt;/a&gt;&lt;/code&gt;]]></description>
		<content:encoded><![CDATA[<p>Eric, I thought I&#8217;d add that the following three examples using <code>name="tags"</code> also cause the <code>id="tags"</code> printing bug in IE. </p>
<p><code>&lt;a name="tags"/&gt;</code></p>
<p><code>&lt;a name="tags"&gt;&lt;/a&gt;</code></p>
<p><code>&lt;a name="tags"&gt;test&lt;/a&gt;</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-7345</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Wed, 12 Oct 2005 20:11:09 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-7345</guid>
		<description><![CDATA[Related to &lt;a href=&quot;http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-6259&quot; rel=&quot;nofollow&quot;&gt;Ken&#039;s comment&lt;/a&gt; here are a few more that could be a very common mistake, since meta tags are still so widely used:

&lt;code&gt;getElementById(&#039;description&#039;) -&gt; &lt;/code&gt;
&lt;code&gt;getElementById(&#039;description&#039;) -&gt; &lt;/code&gt;

Since IE likes to confuse name &amp; id, it&#039;ll grab your named elements first.  So any meta name could potentially get in the way, and seeing as there are a ton of meta tags out there, it really leaves things open for errors in IE.  For example, photomatt.net&#039;s metas include:

&lt;code&gt;
	
	
	
	
	
&lt;/code&gt;

So now we&#039;re starting to get a long list of potential buggy ids.]]></description>
		<content:encoded><![CDATA[<p>Related to <a href="http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-6259" rel="nofollow">Ken&#8217;s comment</a> here are a few more that could be a very common mistake, since meta tags are still so widely used:</p>
<p><code>getElementById('description') -&gt; </code><br />
<code>getElementById('description') -&gt; </code></p>
<p>Since IE likes to confuse name &amp; id, it&#8217;ll grab your named elements first.  So any meta name could potentially get in the way, and seeing as there are a ton of meta tags out there, it really leaves things open for errors in IE.  For example, photomatt.net&#8217;s metas include:</p>
<p><code></p>
<p></code></p>
<p>So now we&#8217;re starting to get a long list of potential buggy ids.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris</title>
		<link>http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-6375</link>
		<dc:creator>Kris</dc:creator>
		<pubDate>Sat, 10 Sep 2005 20:30:19 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-6375</guid>
		<description><![CDATA[Contrary to Romain&#039;s note on id=&quot;content&quot;: I have a site with just such a situation, and it works fine in IE6/Win, IE5.2/Mac, Safari, FF/Win, FF/Mac, Opera8/Win...]]></description>
		<content:encoded><![CDATA[<p>Contrary to Romain&#8217;s note on id=&#8221;content&#8221;: I have a site with just such a situation, and it works fine in IE6/Win, IE5.2/Mac, Safari, FF/Win, FF/Mac, Opera8/Win&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Romain Dardour</title>
		<link>http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-6364</link>
		<dc:creator>Romain Dardour</dc:creator>
		<pubDate>Thu, 08 Sep 2005 20:35:46 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-6364</guid>
		<description><![CDATA[sorry, you should read &quot;the div&#039;s id&quot; instead of &quot;the div&#039;is&quot;. can&#039;t even type properly :)]]></description>
		<content:encoded><![CDATA[<p>sorry, you should read &#8220;the div&#8217;s id&#8221; instead of &#8220;the div&#8217;is&#8221;. can&#8217;t even type properly :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Romain Dardour</title>
		<link>http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-6363</link>
		<dc:creator>Romain Dardour</dc:creator>
		<pubDate>Thu, 08 Sep 2005 20:34:23 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-6363</guid>
		<description><![CDATA[Well i have great news :)

it seems &quot;content&quot; is a reserved word too !

I had a div with an id of &quot;content&quot;,
defining

#content{ height:100px; }

in the stylesheet does NOT work, whereas renaming the div&#039;is to &quot;contents&quot; (mind the S)
and the stylesheet to

#contents{height:100px;}

DOES work !!
hmm talk about great programming]]></description>
		<content:encoded><![CDATA[<p>Well i have great news :)</p>
<p>it seems &#8220;content&#8221; is a reserved word too !</p>
<p>I had a div with an id of &#8220;content&#8221;,<br />
defining</p>
<p>#content{ height:100px; }</p>
<p>in the stylesheet does NOT work, whereas renaming the div&#8217;is to &#8220;contents&#8221; (mind the S)<br />
and the stylesheet to</p>
<p>#contents{height:100px;}</p>
<p>DOES work !!<br />
hmm talk about great programming</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Severtson</title>
		<link>http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-6350</link>
		<dc:creator>Scott Severtson</dc:creator>
		<pubDate>Tue, 06 Sep 2005 15:02:59 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/#comment-6350</guid>
		<description><![CDATA[Another can of worms is naming form elements. For example, *never* name an element &quot;action&quot; under IE, since it conflicts with the built-in Form.action property.]]></description>
		<content:encoded><![CDATA[<p>Another can of worms is naming form elements. For example, *never* name an element &#8220;action&#8221; under IE, since it conflicts with the built-in Form.action property.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->