<?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: Word-wrap for Mozilla (take 2)</title>
	<atom:link href="http://blog.stchur.com/2007/03/01/word-wrap-for-mozilla-take-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.stchur.com/2007/03/01/word-wrap-for-mozilla-take-2/</link>
	<description>web / programming / javascript / css / html</description>
	<lastBuildDate>Thu, 11 Mar 2010 00:46:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: sstchur</title>
		<link>http://blog.stchur.com/2007/03/01/word-wrap-for-mozilla-take-2/comment-page-1/#comment-19071</link>
		<dc:creator>sstchur</dc:creator>
		<pubDate>Tue, 02 Feb 2010 14:14:18 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2007/03/01/word-wrap-for-mozilla-take-2/#comment-19071</guid>
		<description>Thanks Raja:
Yeah, this was written before Chrome was released.  And Chrome not supporting XBL isn&#039;t too surprising, right?  But as you pointed out, it supports some alt CSS which can be used to achieve the desired effect.</description>
		<content:encoded><![CDATA[<p>Thanks Raja:<br />
Yeah, this was written before Chrome was released.  And Chrome not supporting XBL isn&#039;t too surprising, right?  But as you pointed out, it supports some alt CSS which can be used to achieve the desired effect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raja</title>
		<link>http://blog.stchur.com/2007/03/01/word-wrap-for-mozilla-take-2/comment-page-1/#comment-19044</link>
		<dc:creator>Raja</dc:creator>
		<pubDate>Tue, 02 Feb 2010 06:41:53 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2007/03/01/word-wrap-for-mozilla-take-2/#comment-19044</guid>
		<description>I really appreciated your code for solving word-wrap in FireFox using TreeWalker.

But it fails for Chrome. For IE &amp; Chrome, we can use styles as,

table-layout:fixed;
word-break: break-all;

Thanks a lot .</description>
		<content:encoded><![CDATA[<p>I really appreciated your code for solving word-wrap in FireFox using TreeWalker.</p>
<p>But it fails for Chrome. For IE &amp; Chrome, we can use styles as,</p>
<p>table-layout:fixed;<br />
word-break: break-all;</p>
<p>Thanks a lot .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sbeam</title>
		<link>http://blog.stchur.com/2007/03/01/word-wrap-for-mozilla-take-2/comment-page-1/#comment-9976</link>
		<dc:creator>sbeam</dc:creator>
		<pubDate>Tue, 03 Feb 2009 18:50:25 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2007/03/01/word-wrap-for-mozilla-take-2/#comment-9976</guid>
		<description>Hi, this was a very good article and an interesting technique. I didn&#039;t know about -moz-binding. If one needed to support Opera, you could do something similar with regular JS/DOM manipulation - but it would have to be without the convenience of TreeWalker.

I can confirm this does NOT work on table cells, because the &#039;overflow&#039; event does not trigger on them. My kludge was to wrap a  around the contents of certain table cells that might have really long words in them, and assign max-width: and overflow: property to that.

Also - since FF 3.1 will have word-wrap:, I added some version detection to the binding. I know this is generally frowned upon but in this case it should be OK since it is future-proof:

var ver = parseFloat(navigator.userAgent.substring(navigator.userAgent.lastIndexOf(&#039;/&#039;) + 1));
if (3.1 &gt; ver) {
    var elem = this;
    doWrap();
    elem.addEventListener(&#039;overflow&#039;, doWrap, false);
}</description>
		<content:encoded><![CDATA[<p>Hi, this was a very good article and an interesting technique. I didn&#039;t know about -moz-binding. If one needed to support Opera, you could do something similar with regular JS/DOM manipulation &#8211; but it would have to be without the convenience of TreeWalker.</p>
<p>I can confirm this does NOT work on table cells, because the &#039;overflow&#039; event does not trigger on them. My kludge was to wrap a  around the contents of certain table cells that might have really long words in them, and assign max-width: and overflow: property to that.</p>
<p>Also &#8211; since FF 3.1 will have word-wrap:, I added some version detection to the binding. I know this is generally frowned upon but in this case it should be OK since it is future-proof:</p>
<p>var ver = parseFloat(navigator.userAgent.substring(navigator.userAgent.lastIndexOf(&#039;/&#039;) + 1));<br />
if (3.1 &gt; ver) {<br />
    var elem = this;<br />
    doWrap();<br />
    elem.addEventListener(&#039;overflow&#039;, doWrap, false);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rajiv</title>
		<link>http://blog.stchur.com/2007/03/01/word-wrap-for-mozilla-take-2/comment-page-1/#comment-8783</link>
		<dc:creator>rajiv</dc:creator>
		<pubDate>Wed, 07 Jan 2009 09:10:26 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2007/03/01/word-wrap-for-mozilla-take-2/#comment-8783</guid>
		<description>it&#039;s very useful but i have facing one problem the word is not breaking properlly meanse it break not complete 
ex - please note : constructive criticis
m is welcome. Rude or vulgar comments ho
wever ,are not

it happen like this

please help me</description>
		<content:encoded><![CDATA[<p>it&#039;s very useful but i have facing one problem the word is not breaking properlly meanse it break not complete<br />
ex &#8211; please note : constructive criticis<br />
m is welcome. Rude or vulgar comments ho<br />
wever ,are not</p>
<p>it happen like this</p>
<p>please help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RKB</title>
		<link>http://blog.stchur.com/2007/03/01/word-wrap-for-mozilla-take-2/comment-page-1/#comment-4288</link>
		<dc:creator>RKB</dc:creator>
		<pubDate>Tue, 14 Oct 2008 09:26:15 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2007/03/01/word-wrap-for-mozilla-take-2/#comment-4288</guid>
		<description>Hello 
it&#039;s very good solution for wrapping mozilla but i have face one problem to copy report name try to coy paste form it the Unicode caracters come s up.I want normal test to copy on mozilla web page

Please give me option for last line
node.nodeValue = node.nodeValue.split(&#039;&#039;).join(String.fromCharCode(&#039;8203&#039;));</description>
		<content:encoded><![CDATA[<p>Hello<br />
it&#039;s very good solution for wrapping mozilla but i have face one problem to copy report name try to coy paste form it the Unicode caracters come s up.I want normal test to copy on mozilla web page</p>
<p>Please give me option for last line<br />
node.nodeValue = node.nodeValue.split(&#034;).join(String.fromCharCode(&#039;8203&#039;));</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://blog.stchur.com/2007/03/01/word-wrap-for-mozilla-take-2/comment-page-1/#comment-2889</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 09 Sep 2008 16:05:37 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2007/03/01/word-wrap-for-mozilla-take-2/#comment-2889</guid>
		<description>Good news, apparantly the word-wrap CSS property will soon be available in Firefox 3.1:
- http://developer.mozilla.org/web-tech/2008/08/20/word-wrap-break-word/</description>
		<content:encoded><![CDATA[<p>Good news, apparantly the word-wrap CSS property will soon be available in Firefox 3.1:<br />
- <a href="http://developer.mozilla.org/web-tech/2008/08/20/word-wrap-break-word/" rel="nofollow">http://developer.mozilla.org/web-tech/2008/08/20/word-wrap-break-word/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: haider</title>
		<link>http://blog.stchur.com/2007/03/01/word-wrap-for-mozilla-take-2/comment-page-1/#comment-2702</link>
		<dc:creator>haider</dc:creator>
		<pubDate>Wed, 03 Sep 2008 03:48:53 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2007/03/01/word-wrap-for-mozilla-take-2/#comment-2702</guid>
		<description>hix</description>
		<content:encoded><![CDATA[<p>hix</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: personallo</title>
		<link>http://blog.stchur.com/2007/03/01/word-wrap-for-mozilla-take-2/comment-page-1/#comment-2695</link>
		<dc:creator>personallo</dc:creator>
		<pubDate>Tue, 02 Sep 2008 22:09:49 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2007/03/01/word-wrap-for-mozilla-take-2/#comment-2695</guid>
		<description>wow )) 
its very interesting point of view. 
Good post. 
realy gj 
 
thx :-)</description>
		<content:encoded><![CDATA[<p>wow ))<br />
its very interesting point of view.<br />
Good post.<br />
realy gj </p>
<p>thx <img src='http://blog.stchur.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sstchur</title>
		<link>http://blog.stchur.com/2007/03/01/word-wrap-for-mozilla-take-2/comment-page-1/#comment-1328</link>
		<dc:creator>sstchur</dc:creator>
		<pubDate>Sun, 01 Jun 2008 15:15:09 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2007/03/01/word-wrap-for-mozilla-take-2/#comment-1328</guid>
		<description>HP,

My email is sstchur(at)yahoo(dot)com.  Let me know what you&#039;ve got so far, and we&#039;ll see if we can figure out what the missing piece is to get it working.</description>
		<content:encoded><![CDATA[<p>HP,</p>
<p>My email is sstchur(at)yahoo(dot)com.  Let me know what you&#039;ve got so far, and we&#039;ll see if we can figure out what the missing piece is to get it working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HP</title>
		<link>http://blog.stchur.com/2007/03/01/word-wrap-for-mozilla-take-2/comment-page-1/#comment-1327</link>
		<dc:creator>HP</dc:creator>
		<pubDate>Sun, 01 Jun 2008 14:11:53 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2007/03/01/word-wrap-for-mozilla-take-2/#comment-1327</guid>
		<description>Hi,

Sorry for bumping an old article. I have been trying to emulate your xml solution for word wrap in Firefox. My knowledge of this is limited. I have followed your steps in both version 1 and version 2 of this solution and can get neither to work.

I would appreciate some assistance and would be happy to provide my code. Are you able to provide me with a direct email?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Sorry for bumping an old article. I have been trying to emulate your xml solution for word wrap in Firefox. My knowledge of this is limited. I have followed your steps in both version 1 and version 2 of this solution and can get neither to work.</p>
<p>I would appreciate some assistance and would be happy to provide my code. Are you able to provide me with a direct email?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
