<?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"
	>
<channel>
	<title>Comments on: Numbers (markup or style)</title>
	<atom:link href="http://jedisthlm.com/2006/10/26/numbers-markup-or-style/feed/" rel="self" type="application/rss+xml" />
	<link>http://jedisthlm.com/2006/10/26/numbers-markup-or-style/</link>
	<description>The republic of Jens Wedin (with me as the president)</description>
	<pubDate>Tue, 07 Oct 2008 21:44:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Jens</title>
		<link>http://jedisthlm.com/2006/10/26/numbers-markup-or-style/#comment-10938</link>
		<dc:creator>Jens</dc:creator>
		<pubDate>Thu, 09 Nov 2006 22:26:35 +0000</pubDate>
		<guid isPermaLink="false">http://jedisthlm.com/2006/10/26/numbers-markup-or-style/#comment-10938</guid>
		<description>&lt;p&gt;Lars: Thanks a lot for that article, well written I must say.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Lars: Thanks a lot for that article, well written I must say.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Lars Gunther</title>
		<link>http://jedisthlm.com/2006/10/26/numbers-markup-or-style/#comment-10937</link>
		<dc:creator>Lars Gunther</dc:creator>
		<pubDate>Thu, 09 Nov 2006 22:08:45 +0000</pubDate>
		<guid isPermaLink="false">http://jedisthlm.com/2006/10/26/numbers-markup-or-style/#comment-10937</guid>
		<description>&lt;p&gt;I've written about this on my site in Swedish at http://keryx.se/artikel-45&lt;/p&gt;

&lt;p&gt;You may want to check that out.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;ve written about this on my site in Swedish at <a href="http://keryx.se/artikel-45" rel="nofollow">http://keryx.se/artikel-45</a></p>

<p>You may want to check that out.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: knuff</title>
		<link>http://jedisthlm.com/2006/10/26/numbers-markup-or-style/#comment-10262</link>
		<dc:creator>knuff</dc:creator>
		<pubDate>Wed, 01 Nov 2006 10:42:37 +0000</pubDate>
		<guid isPermaLink="false">http://jedisthlm.com/2006/10/26/numbers-markup-or-style/#comment-10262</guid>
		<description>&lt;p&gt;Crap. Perhaps your spamfilter is to agressive? Anyway, gmail has deleted the script section of the html-file. I'll try to resend it when I come home. Havent got the file at work. This time I zip the html.&lt;/p&gt;

&lt;p&gt;Cheers!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Crap. Perhaps your spamfilter is to agressive? Anyway, gmail has deleted the script section of the <acronym title="HyperText Markup Language">HTML</acronym>-file. I&#8217;ll try to resend it when I come home. Havent got the file at work. This time I zip the <acronym title="HyperText Markup Language">HTML</acronym>.</p>

<p>Cheers!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jens</title>
		<link>http://jedisthlm.com/2006/10/26/numbers-markup-or-style/#comment-10250</link>
		<dc:creator>Jens</dc:creator>
		<pubDate>Wed, 01 Nov 2006 09:25:44 +0000</pubDate>
		<guid isPermaLink="false">http://jedisthlm.com/2006/10/26/numbers-markup-or-style/#comment-10250</guid>
		<description>&lt;p&gt;knuff: No I did'nt receive any mail. Try agin to send it to my mail address.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>knuff: No I did&#8217;nt receive any mail. Try agin to send it to my mail address.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: knuff</title>
		<link>http://jedisthlm.com/2006/10/26/numbers-markup-or-style/#comment-10190</link>
		<dc:creator>knuff</dc:creator>
		<pubDate>Tue, 31 Oct 2006 16:20:46 +0000</pubDate>
		<guid isPermaLink="false">http://jedisthlm.com/2006/10/26/numbers-markup-or-style/#comment-10190</guid>
		<description>&lt;p&gt;Did you get it? My example was pretty sloppy but it should give you an idea. It  dosent work on numbers that are &#62; 999 and has more zeros that can be divided with 3.&lt;/p&gt;

&lt;p&gt;Cheers!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Did you get it? My example was pretty sloppy but it should give you an idea. It  dosent work on numbers that are &gt; 999 and has more zeros that can be divided with 3.</p>

<p>Cheers!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jens</title>
		<link>http://jedisthlm.com/2006/10/26/numbers-markup-or-style/#comment-10169</link>
		<dc:creator>Jens</dc:creator>
		<pubDate>Tue, 31 Oct 2006 08:07:32 +0000</pubDate>
		<guid isPermaLink="false">http://jedisthlm.com/2006/10/26/numbers-markup-or-style/#comment-10169</guid>
		<description>&lt;p&gt;knuff: what I guy, thanx-a-lot. Yeah, you could mail me at jens [at] jedisthlm.com&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>knuff: what I guy, thanx-a-lot. Yeah, you could mail me at jens [at] jedisthlm.com</p>]]></content:encoded>
	</item>
	<item>
		<title>By: knuff</title>
		<link>http://jedisthlm.com/2006/10/26/numbers-markup-or-style/#comment-10146</link>
		<dc:creator>knuff</dc:creator>
		<pubDate>Mon, 30 Oct 2006 23:49:32 +0000</pubDate>
		<guid isPermaLink="false">http://jedisthlm.com/2006/10/26/numbers-markup-or-style/#comment-10146</guid>
		<description>&lt;p&gt;Well that didnt work. I'll send you a mail, if you like it you could post it here.&lt;/p&gt;

&lt;p&gt;Cheers.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Well that didnt work. I&#8217;ll send you a mail, if you like it you could post it here.</p>

<p>Cheers.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: knuff</title>
		<link>http://jedisthlm.com/2006/10/26/numbers-markup-or-style/#comment-10145</link>
		<dc:creator>knuff</dc:creator>
		<pubDate>Mon, 30 Oct 2006 23:47:54 +0000</pubDate>
		<guid isPermaLink="false">http://jedisthlm.com/2006/10/26/numbers-markup-or-style/#comment-10145</guid>
		<description>&lt;p&gt;I should really sleep right now, pardon my bad english and grammar this late our.
Id attribute should be unique so name is more correct way if you ask me. 2000 (js: document.getElementsByName). Setting the margin-left wont do the trick, its only afftecting the whole number. What you want to do is inserting a space or dot every third number in the number. Below you have a working example of what you would like to do. However I would work out some way to get rid of the span-elements if I had more time. Hopes this helps you. Btw the functioncall should be place in body-element onload. Dont forget to check the source after hitting the bottom. One last thing, Im aware that my html wouldnt pass W3C HTML validator but thats not the point here, right? Cheers!&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Spacing thousand numbers test

    function formatNumbers() {
        //get the numbers
        var unformatedNumbers = document.getElementsByName("numbers");
        // loop every element with name numbers
        for (i = 0; i 


2000
3000
4000000
5000000000
6000000000000
7000000000000000
&lt;/code&gt;&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>I should really sleep right now, pardon my bad english and grammar this late our.
Id attribute should be unique so name is more correct way if you ask me. 2000 (js: document.getElementsByName). Setting the margin-left wont do the trick, its only afftecting the whole number. What you want to do is inserting a space or dot every third number in the number. Below you have a working example of what you would like to do. However I would work out some way to get rid of the span-elements if I had more time. Hopes this helps you. <acronym title="By The Way">BTW</acronym> the functioncall should be place in body-element onload. Dont forget to check the source after hitting the bottom. One last thing, <acronym title="Instant Message">IM</acronym> aware that my <acronym title="HyperText Markup Language">HTML</acronym> wouldnt pass <acronym title="World Wide Web Consortium">W3C</acronym> <acronym title="HyperText Markup Language">HTML</acronym> validator but thats not the point here, right? Cheers!</p>

<pre><code>Spacing thousand numbers test

    function formatNumbers() {
        //get the numbers
        var unformatedNumbers = document.getElementsByName("numbers");
        // loop every element with name numbers
        for (i = 0; i 


2000
3000
4000000
5000000000
6000000000000
7000000000000000
</code></pre>]]></content:encoded>
	</item>
	<item>
		<title>By: Jens</title>
		<link>http://jedisthlm.com/2006/10/26/numbers-markup-or-style/#comment-10111</link>
		<dc:creator>Jens</dc:creator>
		<pubDate>Mon, 30 Oct 2006 09:47:46 +0000</pubDate>
		<guid isPermaLink="false">http://jedisthlm.com/2006/10/26/numbers-markup-or-style/#comment-10111</guid>
		<description>&lt;p&gt;Thanks G! If you have an working example I would love to try it out. I suck big time when it comes to JS so if you have an working example I would love to check it out.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks G! If you have an working example I would love to try it out. I suck big time when it comes to JS so if you have an working example I would love to check it out.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: G.Lindqvist</title>
		<link>http://jedisthlm.com/2006/10/26/numbers-markup-or-style/#comment-10109</link>
		<dc:creator>G.Lindqvist</dc:creator>
		<pubDate>Mon, 30 Oct 2006 08:57:37 +0000</pubDate>
		<guid isPermaLink="false">http://jedisthlm.com/2006/10/26/numbers-markup-or-style/#comment-10109</guid>
		<description>&lt;p&gt;This can be a start for the function in Javascript.
[code]
window.onload = function() {
var para = document.getElementById("numbers");
para.style.marginLeft = "2%"; // Sets the left margin of the element
}
[/code]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This can be a start for the function in Javascript.
[code]
window.onload = function() {
var para = document.getElementById(&#8221;numbers&#8221;);
para.style.marginLeft = &#8220;2%&#8221;; // Sets the left margin of the element
}
[/code]</p>]]></content:encoded>
	</item>
</channel>
</rss>
