<?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>Seree Woradechjamroen &#187; dom</title>
	<atom:link href="http://www.iamseree.com/tag/dom/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iamseree.com</link>
	<description>Keep learning everyday, willing to win and take action</description>
	<lastBuildDate>Fri, 23 Jul 2010 16:58:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Why my .style.left doesn&#8221;t work with FireFox?</title>
		<link>http://www.iamseree.com/application-development/why-my-styleleft-doesnt-work-with-firefox/</link>
		<comments>http://www.iamseree.com/application-development/why-my-styleleft-doesnt-work-with-firefox/#comments</comments>
		<pubDate>Tue, 13 Nov 2007 07:50:20 +0000</pubDate>
		<dc:creator>Seree</dc:creator>
				<category><![CDATA[Application Development]]></category>
		<category><![CDATA[dom]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[style.left]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.iamseree.com/?p=35</guid>
		<description><![CDATA[This is a simple &#38; stupid knowledge that I taken about 2 days to solve it. I have a project that have to use this code&#8230;. var con = document.getElementById(&#8220;menu&#8221;); con.style.left = &#8220;10&#8243;; con.style.top = &#8220;20&#8243;; When I run this code in Internet Explorer 6, 7. I got it working like I want! But when ...]]></description>
			<content:encoded><![CDATA[<p>This is a simple &amp; stupid knowledge that I taken about 2 days to solve it.</p>
<p>I have a project that have to use this code&#8230;.</p>
<p>var con = document.getElementById(&#8220;menu&#8221;);</p>
<p>con.style.left = &#8220;10&#8243;;</p>
<p>con.style.top = &#8220;20&#8243;;</p>
<p>When I run this code in Internet Explorer 6, 7.</p>
<p>I got it working like I want!</p>
<p>But when I try with Mozilla FireFox.</p>
<p>It never works!</p>
<p>Man! I hate DOM, if I have enough money. I&#8217;ll buy Microsoft and stop Internet Explorer project to reduce browser compatibility issues. <img src='http://www.iamseree.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I try to use FireBug to change the css real-time, it does work very well.</p>
<p>The key point of this issue is that YOU MUST APPEND the property with UNIT!</p>
<p>I changed the code to&#8230;</p>
<p>con.style.left = &#8220;10px&#8221;;</p>
<p>con.style.top = &#8220;20px&#8221;;</p>
<p>And now it works!</p>
<p>Gotcha!</p>
<p>Simple &amp; Stupid, right?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iamseree.com/application-development/why-my-styleleft-doesnt-work-with-firefox/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Use JavaScript to change &#8220;float&#8221; style</title>
		<link>http://www.iamseree.com/application-development/use-javascript-to-change-float-style/</link>
		<comments>http://www.iamseree.com/application-development/use-javascript-to-change-float-style/#comments</comments>
		<pubDate>Thu, 08 Nov 2007 07:47:59 +0000</pubDate>
		<dc:creator>Seree</dc:creator>
				<category><![CDATA[Application Development]]></category>
		<category><![CDATA[cssfloat]]></category>
		<category><![CDATA[dom]]></category>
		<category><![CDATA[float]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.iamseree.com/?p=33</guid>
		<description><![CDATA[Hey friends, In a few days ago, I’ve just stuck with how to change “float” style in JavaScript and very confuse why it doesn’t work at all! I’m using … var obj = document.getElementById(“some1”); obj.style.float = “left”; No luck at all. I tried both on Internet Explorer and Firefox. Even I use Internet Explorer Toolbar and ...]]></description>
			<content:encoded><![CDATA[<p>Hey friends,</p>
<p>In a few days ago, I’ve just stuck with how to change “float” style in JavaScript and very confuse why it doesn’t work at all!</p>
<p>I’m using …</p>
<p>var obj = document.getElementById(“some1”);</p>
<p>obj.style.float = “left”;</p>
<p>No luck at all. I tried both on Internet Explorer and Firefox. Even I use Internet Explorer Toolbar and Firebug. I can change the style via that tools but no luck with JavaScript.</p>
<p>Silly?</p>
<p>I’m fool with DOM. I try to find a solution and suddenly found that.</p>
<p>In DOM, there are no “float” property but “cssFloat”.</p>
<p>Just change my code to …</p>
<p>var obj = document.getElementById(“some1”);</p>
<p>obj.style.cssFloat = “left”;</p>
<p>Really silly huh?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iamseree.com/application-development/use-javascript-to-change-float-style/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
