<?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: An Even Better IE Button Width Fix</title>
	<atom:link href="http://www.brownbatterystudios.com/sixthings/2006/05/12/an-even-better-ie-button-width-fix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brownbatterystudios.com/sixthings/2006/05/12/an-even-better-ie-button-width-fix/</link>
	<description>Design wisdom in red and grey.</description>
	<pubDate>Tue, 06 Jan 2009 01:12:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: St. John</title>
		<link>http://www.brownbatterystudios.com/sixthings/2006/05/12/an-even-better-ie-button-width-fix/comment-page-1/#comment-31072</link>
		<dc:creator>St. John</dc:creator>
		<pubDate>Wed, 19 Nov 2008 13:12:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.brownbatterystudios.com/sixthings/2006/05/12/an-even-better-ie-button-width-fix/#comment-31072</guid>
		<description>Thank you. By adding a js function, jQuery, that assign every input type="button" a button class this fix made my day.</description>
		<content:encoded><![CDATA[<p>Thank you. By adding a js function, jQuery, that assign every input type=&#8221;button&#8221; a button class this fix made my day.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hans</title>
		<link>http://www.brownbatterystudios.com/sixthings/2006/05/12/an-even-better-ie-button-width-fix/comment-page-1/#comment-31065</link>
		<dc:creator>Hans</dc:creator>
		<pubDate>Thu, 13 Nov 2008 10:42:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.brownbatterystudios.com/sixthings/2006/05/12/an-even-better-ie-button-width-fix/#comment-31065</guid>
		<description>It works nice, but if the button is disabled, it doesn't work anymore.</description>
		<content:encoded><![CDATA[<p>It works nice, but if the button is disabled, it doesn&#8217;t work anymore.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.brownbatterystudios.com/sixthings/2006/05/12/an-even-better-ie-button-width-fix/comment-page-1/#comment-31020</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Wed, 17 Sep 2008 02:47:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.brownbatterystudios.com/sixthings/2006/05/12/an-even-better-ie-button-width-fix/#comment-31020</guid>
		<description>Nice fix for IE, but renders the buttons invisible in Opera (as you noted) and Firefox as well. :(</description>
		<content:encoded><![CDATA[<p>Nice fix for IE, but renders the buttons invisible in Opera (as you noted) and Firefox as well. :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: canvas art</title>
		<link>http://www.brownbatterystudios.com/sixthings/2006/05/12/an-even-better-ie-button-width-fix/comment-page-1/#comment-31017</link>
		<dc:creator>canvas art</dc:creator>
		<pubDate>Wed, 10 Sep 2008 11:14:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.brownbatterystudios.com/sixthings/2006/05/12/an-even-better-ie-button-width-fix/#comment-31017</guid>
		<description>Better indeed!  But can this combat all the bugs that are still not solved?  Shall we solve the root of the problem first before putting more decorations on the branches?</description>
		<content:encoded><![CDATA[<p>Better indeed!  But can this combat all the bugs that are still not solved?  Shall we solve the root of the problem first before putting more decorations on the branches?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brownspank</title>
		<link>http://www.brownbatterystudios.com/sixthings/2006/05/12/an-even-better-ie-button-width-fix/comment-page-1/#comment-30980</link>
		<dc:creator>Brownspank</dc:creator>
		<pubDate>Wed, 30 Jul 2008 01:53:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.brownbatterystudios.com/sixthings/2006/05/12/an-even-better-ie-button-width-fix/#comment-30980</guid>
		<description>&lt;strong&gt;&lt;a href="#comment-30978" rel="nofollow"&gt;Gifts&lt;/a&gt;&lt;/strong&gt;: I hear you. Microsoft can keep on dishing out newer versions of IE, but as long as the bugged versions are enjoying a significant market share, we're stuck with hacks, fixes, and workarounds.</description>
		<content:encoded><![CDATA[<p><strong><a href="#comment-30978" rel="nofollow">Gifts</a></strong>: I hear you. Microsoft can keep on dishing out newer versions of IE, but as long as the bugged versions are enjoying a significant market share, we&#8217;re stuck with hacks, fixes, and workarounds.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gifts</title>
		<link>http://www.brownbatterystudios.com/sixthings/2006/05/12/an-even-better-ie-button-width-fix/comment-page-1/#comment-30978</link>
		<dc:creator>gifts</dc:creator>
		<pubDate>Tue, 29 Jul 2008 18:40:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.brownbatterystudios.com/sixthings/2006/05/12/an-even-better-ie-button-width-fix/#comment-30978</guid>
		<description>It's quite interesting when you read back at posts like this and see the kind of rubbish we had to put up with back in the day, and all the workarounds we had to do. Fortunately, web standards and browsers have moved on, but yet there are still a host of issues which need resolving. I'm eagerly waiting to see if IE8 brings any change to what's going on out there, but something tells me it isn' t really going to do much for the scene.</description>
		<content:encoded><![CDATA[<p>It&#8217;s quite interesting when you read back at posts like this and see the kind of rubbish we had to put up with back in the day, and all the workarounds we had to do. Fortunately, web standards and browsers have moved on, but yet there are still a host of issues which need resolving. I&#8217;m eagerly waiting to see if IE8 brings any change to what&#8217;s going on out there, but something tells me it isn&#8217; t really going to do much for the scene.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.brownbatterystudios.com/sixthings/2006/05/12/an-even-better-ie-button-width-fix/comment-page-1/#comment-30939</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Mon, 30 Jun 2008 17:02:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.brownbatterystudios.com/sixthings/2006/05/12/an-even-better-ie-button-width-fix/#comment-30939</guid>
		<description>This is a great fix to a problem that Microsoft should address with IE. Although IE7 has moved further with leaps toward web standards, it's still got a ways to go. 

Thanks again!</description>
		<content:encoded><![CDATA[<p>This is a great fix to a problem that Microsoft should address with IE. Although IE7 has moved further with leaps toward web standards, it&#8217;s still got a ways to go. </p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Owen Brown</title>
		<link>http://www.brownbatterystudios.com/sixthings/2006/05/12/an-even-better-ie-button-width-fix/comment-page-1/#comment-30934</link>
		<dc:creator>Owen Brown</dc:creator>
		<pubDate>Thu, 26 Jun 2008 00:56:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.brownbatterystudios.com/sixthings/2006/05/12/an-even-better-ie-button-width-fix/#comment-30934</guid>
		<description>Hi, all - this site was helpful so I though I'd return the favour. The button in a td problem can be fixed using javascript. Get the array of the relevant inputs, find the offsetWidth and then set the button width to that value. Hopefully that works without issue.

var arrInputs = eContainer.getElementsByTagName('INPUT');
var arrInputsSubmit = new Array();
// find all inputs
for (i=0; i &#60; arrInputs.length; i++) {
if (arrInputs[i].type == 'submit' &#124;&#124; arrInputs[i].type == 'button') {
// get the widths and add padding to eliminate IE7 bug
var eWidth = getWidth(arrInputs[i]);
if (arrInputs[i].clientWidth) {					arrInputs[i].style.width = arrInputs[i].offsetWidth;	
}
}
}</description>
		<content:encoded><![CDATA[<p>Hi, all - this site was helpful so I though I&#8217;d return the favour. The button in a td problem can be fixed using javascript. Get the array of the relevant inputs, find the offsetWidth and then set the button width to that value. Hopefully that works without issue.</p>
<p>var arrInputs = eContainer.getElementsByTagName(&#8217;INPUT&#8217;);<br />
var arrInputsSubmit = new Array();<br />
// find all inputs<br />
for (i=0; i &lt; arrInputs.length; i++) {<br />
if (arrInputs[i].type == &#8217;submit&#8217; || arrInputs[i].type == &#8216;button&#8217;) {<br />
// get the widths and add padding to eliminate IE7 bug<br />
var eWidth = getWidth(arrInputs[i]);<br />
if (arrInputs[i].clientWidth) {					arrInputs[i].style.width = arrInputs[i].offsetWidth;<br />
}<br />
}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cssyeah</title>
		<link>http://www.brownbatterystudios.com/sixthings/2006/05/12/an-even-better-ie-button-width-fix/comment-page-1/#comment-30653</link>
		<dc:creator>cssyeah</dc:creator>
		<pubDate>Tue, 11 Mar 2008 04:07:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.brownbatterystudios.com/sixthings/2006/05/12/an-even-better-ie-button-width-fix/#comment-30653</guid>
		<description>Thank you, great solution.</description>
		<content:encoded><![CDATA[<p>Thank you, great solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: unscriptable</title>
		<link>http://www.brownbatterystudios.com/sixthings/2006/05/12/an-even-better-ie-button-width-fix/comment-page-1/#comment-30646</link>
		<dc:creator>unscriptable</dc:creator>
		<pubDate>Thu, 06 Mar 2008 16:32:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.brownbatterystudios.com/sixthings/2006/05/12/an-even-better-ie-button-width-fix/#comment-30646</guid>
		<description>w00t!  Your fix, width:100%, finally solved this issue for me when the button is in a TD!  Friggin IE7!!! Nothing else worked.  I tried everything!  :-)</description>
		<content:encoded><![CDATA[<p>w00t!  Your fix, width:100%, finally solved this issue for me when the button is in a TD!  Friggin IE7!!! Nothing else worked.  I tried everything!  :-)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
