<?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: Input vs. Button</title>
	<atom:link href="http://trevordavis.net/blog/tutorial/input-vs-button/feed/" rel="self" type="application/rss+xml" />
	<link>http://trevordavis.net/blog/tutorial/input-vs-button/</link>
	<description>Doing That Web Standards Thing</description>
	<pubDate>Fri, 21 Nov 2008 10:57:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>By: Trevor</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-1712</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Mon, 29 Sep 2008 14:26:15 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-1712</guid>
		<description>@Triggesy-
Yeah, if you take a look at the &lt;a href="http://trevordavis.net/play/input-vs-button/" rel="nofollow"&gt;demo page&lt;/a&gt; in IE6, you can see this problem in action.</description>
		<content:encoded><![CDATA[<p>@Triggesy-<br />
Yeah, if you take a look at the <a href="http://trevordavis.net/play/input-vs-button/" rel="nofollow">demo page</a> in IE6, you can see this problem in action.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: triggesy</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-1711</link>
		<dc:creator>triggesy</dc:creator>
		<pubDate>Mon, 29 Sep 2008 10:41:18 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-1711</guid>
		<description>oops, where did the markup go? 

trying again...

&#60;button type=&#34;submit&#34; name=&#34;n&#34; value=&#34;v&#34;&#62;v&#60;/button&#62;
&#60;input type=&#34;submit&#34;&#62; </description>
		<content:encoded><![CDATA[<p>oops, where did the markup go? </p>
<p>trying again&#8230;</p>
<p>&lt;button type=&quot;submit&quot; name=&quot;n&quot; value=&quot;v&quot;&gt;v&lt;/button&gt;<br />
&lt;input type=&quot;submit&quot;&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: triggesy</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-1710</link>
		<dc:creator>triggesy</dc:creator>
		<pubDate>Mon, 29 Sep 2008 10:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-1710</guid>
		<description>Note that in IE6, if you put a button (type submit) in a form, its contents wlil be submitted even if it is not the one that is clicked. Ie

...
v

...

will always send the value of button "n" back...</description>
		<content:encoded><![CDATA[<p>Note that in IE6, if you put a button (type submit) in a form, its contents wlil be submitted even if it is not the one that is clicked. Ie</p>
<p>&#8230;<br />
v</p>
<p>&#8230;</p>
<p>will always send the value of button &#8220;n&#8221; back&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan Pablo</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-1640</link>
		<dc:creator>Juan Pablo</dc:creator>
		<pubDate>Fri, 12 Sep 2008 15:02:42 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-1640</guid>
		<description>Works nice!
Thanks</description>
		<content:encoded><![CDATA[<p>Works nice!<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-997</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Tue, 08 Jul 2008 23:18:29 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-997</guid>
		<description>I've been using                                                                                                        where  selector button will have the correct dimensions and image reference which gets applied to the submit button.                                                                                    This technique works well in all the browsers.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been using                                                                                                        where  selector button will have the correct dimensions and image reference which gets applied to the submit button.                                                                                    This technique works well in all the browsers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Demm</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-904</link>
		<dc:creator>Demm</dc:creator>
		<pubDate>Tue, 03 Jun 2008 11:56:47 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-904</guid>
		<description>Good idea</description>
		<content:encoded><![CDATA[<p>Good idea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zigi</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-885</link>
		<dc:creator>zigi</dc:creator>
		<pubDate>Sat, 31 May 2008 23:02:28 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-885</guid>
		<description>Hi,

I have a "submit" button done with CSS sprite.
The action for it is done with AJAX, it gives me trouble.
Anyone knows if AJAX has any problems with CSS sprite?

Thx in advance !
Zigi</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have a &#8220;submit&#8221; button done with CSS sprite.<br />
The action for it is done with AJAX, it gives me trouble.<br />
Anyone knows if AJAX has any problems with CSS sprite?</p>
<p>Thx in advance !<br />
Zigi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-869</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Thu, 29 May 2008 21:16:52 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-869</guid>
		<description>@Mike-
I agree. Let there be text!

@Divya-
Nice, I&#8217;ll have to check that out.

@ Ivan-
Excellent, glad I could help!</description>
		<content:encoded><![CDATA[<p>@Mike-<br />
I agree. Let there be text!</p>
<p>@Divya-<br />
Nice, I&rsquo;ll have to check that out.</p>
<p>@ Ivan-<br />
Excellent, glad I could help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fatih Hayrioğlu'nun not defteri &#187; 26 Mayıs 2008 web&#8217;den se&#231;me haberler &#187; d&#252;zenlenmiş, Bağlantı, arasında, farklılıklar, kutuları, hazırlamak, jQuery, yapılmış, g&#252;zel, aralığı</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-855</link>
		<dc:creator>Fatih Hayrioğlu'nun not defteri &#187; 26 Mayıs 2008 web&#8217;den se&#231;me haberler &#187; d&#252;zenlenmiş, Bağlantı, arasında, farklılıklar, kutuları, hazırlamak, jQuery, yapılmış, g&#252;zel, aralığı</dc:creator>
		<pubDate>Mon, 26 May 2008 12:35:44 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-855</guid>
		<description>[...] input ve button arasında farklılıklar. Bağlantı [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] input ve button arasında farklılıklar. Bağlantı [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan Nikolic</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-854</link>
		<dc:creator>Ivan Nikolic</dc:creator>
		<pubDate>Sun, 25 May 2008 21:44:52 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-854</guid>
		<description>Thank you for this, bullet-proof solution for nasty IE problem. Will surely use it in my projects!</description>
		<content:encoded><![CDATA[<p>Thank you for this, bullet-proof solution for nasty IE problem. Will surely use it in my projects!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Divya</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-849</link>
		<dc:creator>Divya</dc:creator>
		<pubDate>Sat, 24 May 2008 02:40:50 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-849</guid>
		<description>For Opera, I have found a work around of padding the text entirely out of the box element. e.g. if the width of the input button is assigned as 100px, then put padding-left of the input button to be 101px and overflow:hidden.</description>
		<content:encoded><![CDATA[<p>For Opera, I have found a work around of padding the text entirely out of the box element. e.g. if the width of the input button is assigned as 100px, then put padding-left of the input button to be 101px and overflow:hidden.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Schinkel</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-847</link>
		<dc:creator>Mike Schinkel</dc:creator>
		<pubDate>Fri, 23 May 2008 22:35:35 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-847</guid>
		<description>Nice!  I for one am particularly frustrated by designers who want to turn everything into a graphic and destroy the interoperability (and lightweight) of text.  You continue to impress me with your insights, and you are one of very few bloggers who do.</description>
		<content:encoded><![CDATA[<p>Nice!  I for one am particularly frustrated by designers who want to turn everything into a graphic and destroy the interoperability (and lightweight) of text.  You continue to impress me with your insights, and you are one of very few bloggers who do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-846</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Fri, 23 May 2008 15:33:55 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-846</guid>
		<description>@Steve-
You are right, Opera is used on mobile devices and the Wii. But I highly doubt that people are going to the Group Logic site using their Wii. If they are, I am going to go out on a limb and assume its a very, very small number of people.

And using their mobile phones? People use their mobile phones to Google something, find a movie time or sports score. Until all mobile browsers have iPhone like capability, I think people over-estimate what users are using their phones for.

I agree totally about hating the idea about using graphical text on buttons, but sometimes you are stuck doing what the client/design calls for. I guess you could use the sliding doors technique, but it seems like extra markup for not much reward. Plus, the text is a &#8220;non-websafe&#8221; font with a shadow on it.</description>
		<content:encoded><![CDATA[<p>@Steve-<br />
You are right, Opera is used on mobile devices and the Wii. But I highly doubt that people are going to the Group Logic site using their Wii. If they are, I am going to go out on a limb and assume its a very, very small number of people.</p>
<p>And using their mobile phones? People use their mobile phones to Google something, find a movie time or sports score. Until all mobile browsers have iPhone like capability, I think people over-estimate what users are using their phones for.</p>
<p>I agree totally about hating the idea about using graphical text on buttons, but sometimes you are stuck doing what the client/design calls for. I guess you could use the sliding doors technique, but it seems like extra markup for not much reward. Plus, the text is a &ldquo;non-websafe&rdquo; font with a shadow on it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steve</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-845</link>
		<dc:creator>steve</dc:creator>
		<pubDate>Fri, 23 May 2008 14:09:46 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-845</guid>
		<description>"Nacho-
Hmm yeah you are right. Opera really does not have much of a market share, but it would be nice to figure out how to get it to work in it."

yeah, but Opera is the standard for many mobile devices (which use OperaMini) and the Nintendo WII


I hate the idea of embedding graphic text on buttons, and, as for the resizing issue, why not use the sliding doors technique?

if you HAVE to use graphical buttons, use an icon which is non-language biased - I think we all know what "download" looks like and NO/Cancel</description>
		<content:encoded><![CDATA[<p>&#8220;Nacho-<br />
Hmm yeah you are right. Opera really does not have much of a market share, but it would be nice to figure out how to get it to work in it.&#8221;</p>
<p>yeah, but Opera is the standard for many mobile devices (which use OperaMini) and the Nintendo WII</p>
<p>I hate the idea of embedding graphic text on buttons, and, as for the resizing issue, why not use the sliding doors technique?</p>
<p>if you HAVE to use graphical buttons, use an icon which is non-language biased - I think we all know what &#8220;download&#8221; looks like and NO/Cancel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrey</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-844</link>
		<dc:creator>Andrey</dc:creator>
		<pubDate>Fri, 23 May 2008 13:24:02 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-844</guid>
		<description>sorry, used wrong link probably. Works for now.</description>
		<content:encoded><![CDATA[<p>sorry, used wrong link probably. Works for now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-843</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Fri, 23 May 2008 13:21:41 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-843</guid>
		<description>@Jermayn-
Haha&#8230;unfortunately that was not an option.

@lumega-
Yeah, as &lt;a href="http://trevordavis.net/blog/tutorial/input-vs-button/#comment-822" rel="nofollow"&gt;Nacho stated earlier in the comments&lt;/a&gt;, it does not work in Opera. I think I can live with it at the moment since Opera has such a small market share, and it is not like the form becomes unusable. Although, I am interested in trying to find a solution.

@Wilfred Nas-
Nice, glad it removed the reliance on JS.

@Andrey-
The hover effect in the &lt;a href="http://trevordavis.net/play/input-vs-button/regular-input-hover-fixed-for-ie/" rel="nofollow"&gt;last example&lt;/a&gt; doesn&#8217;t work in IE6? Do you have JavaScript turned off?</description>
		<content:encoded><![CDATA[<p>@Jermayn-<br />
Haha&hellip;unfortunately that was not an option.</p>
<p>@lumega-<br />
Yeah, as <a href="http://trevordavis.net/blog/tutorial/input-vs-button/#comment-822" rel="nofollow">Nacho stated earlier in the comments</a>, it does not work in Opera. I think I can live with it at the moment since Opera has such a small market share, and it is not like the form becomes unusable. Although, I am interested in trying to find a solution.</p>
<p>@Wilfred Nas-<br />
Nice, glad it removed the reliance on JS.</p>
<p>@Andrey-<br />
The hover effect in the <a href="http://trevordavis.net/play/input-vs-button/regular-input-hover-fixed-for-ie/" rel="nofollow">last example</a> doesn&rsquo;t work in IE6? Do you have JavaScript turned off?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrey</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-842</link>
		<dc:creator>Andrey</dc:creator>
		<pubDate>Fri, 23 May 2008 13:02:41 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-842</guid>
		<description>hm.. in ie6 doesn't work hover effect.</description>
		<content:encoded><![CDATA[<p>hm.. in ie6 doesn&#8217;t work hover effect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wilfred Nas</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-840</link>
		<dc:creator>Wilfred Nas</dc:creator>
		<pubDate>Fri, 23 May 2008 11:07:06 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-840</guid>
		<description>trevor, thanks for the lineheight trick for ie. I resolved to js to remove the value and have now reversed that and solve it with css. great going...</description>
		<content:encoded><![CDATA[<p>trevor, thanks for the lineheight trick for ie. I resolved to js to remove the value and have now reversed that and solve it with css. great going&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lumega</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-839</link>
		<dc:creator>lumega</dc:creator>
		<pubDate>Fri, 23 May 2008 07:35:03 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-839</guid>
		<description>Problem with text in Opera 9.27</description>
		<content:encoded><![CDATA[<p>Problem with text in Opera 9.27</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jermayn</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-838</link>
		<dc:creator>Jermayn</dc:creator>
		<pubDate>Fri, 23 May 2008 07:13:13 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-838</guid>
		<description>Would I do anything different?? yeah told the company who design individual button images that you were going to just stylise the buttons using CSS...</description>
		<content:encoded><![CDATA[<p>Would I do anything different?? yeah told the company who design individual button images that you were going to just stylise the buttons using CSS&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DnKrozz</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-836</link>
		<dc:creator>DnKrozz</dc:creator>
		<pubDate>Fri, 23 May 2008 05:52:05 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-836</guid>
		<description>i have good result in IE 6,7 Opera, Safari, FF with:
&lt;code&gt;
input.button
{
    border: 0px;

    display: block;

    height: 22px;

    padding-top: 22px; /* for Opera 30px for Safari 19px*/

    background: none;

    overflow: hidden;
}

input.submit
{
    background-image: url(submit.gif);
    width: 71px;

}
&lt;/code&gt;

My image has 71x22 size.</description>
		<content:encoded><![CDATA[<p>i have good result in IE 6,7 Opera, Safari, FF with:<br />
<code><br />
input.button<br />
{<br />
    border: 0px;</p>
<p>    display: block;</p>
<p>    height: 22px;</p>
<p>    padding-top: 22px; /* for Opera 30px for Safari 19px*/</p>
<p>    background: none;</p>
<p>    overflow: hidden;<br />
}</p>
<p>input.submit<br />
{<br />
    background-image: url(submit.gif);<br />
    width: 71px;</p>
<p>}<br />
</code></p>
<p>My image has 71x22 size.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-835</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Fri, 23 May 2008 01:53:32 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-835</guid>
		<description>@Sasa-
Yes, Roger has some great references.

@Yaili-
It is a shame; Opera is a very solid browser. I still think Firefox is the best non-IE browser with the abundance of plugins available.

@Tom-
I would be careful with the way you are doing that. I setup a &lt;a href="http://trevordavis.net/play/input-vs-button/buttons-with-different-names/" rel="nofollow"&gt;test page&lt;/a&gt; where all of the buttons have a different name attribute.

Everything works fine in Firefox and Safari. In IE7, it submits the entire source of the image of the button that you clicked (which you could make work). In IE6 though, it still acts as though all buttons are clicked. I wish we didn&#8217;t have to worry about IE6 anymore, but unfortunately it is still the most popular browser.</description>
		<content:encoded><![CDATA[<p>@Sasa-<br />
Yes, Roger has some great references.</p>
<p>@Yaili-<br />
It is a shame; Opera is a very solid browser. I still think Firefox is the best non-IE browser with the abundance of plugins available.</p>
<p>@Tom-<br />
I would be careful with the way you are doing that. I setup a <a href="http://trevordavis.net/play/input-vs-button/buttons-with-different-names/" rel="nofollow">test page</a> where all of the buttons have a different name attribute.</p>
<p>Everything works fine in Firefox and Safari. In IE7, it submits the entire source of the image of the button that you clicked (which you could make work). In IE6 though, it still acts as though all buttons are clicked. I wish we didn&rsquo;t have to worry about IE6 anymore, but unfortunately it is still the most popular browser.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-834</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Thu, 22 May 2008 22:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-834</guid>
		<description>Have you tried giving the  elements different names?  The name/value pair only gets passed if that button is clicked.

Submit

Submit

Then, in your server-side code do a check:

if (button1.value == "button1") then
    ...perform some action...

if (button2.value=="button2") then
    ...perform some other action...

I'm using this technique in a web app at work and it works great! Plus, it's a snap to make this image buttons by nesting an  in the  tags.</description>
		<content:encoded><![CDATA[<p>Have you tried giving the  elements different names?  The name/value pair only gets passed if that button is clicked.</p>
<p>Submit</p>
<p>Submit</p>
<p>Then, in your server-side code do a check:</p>
<p>if (button1.value == &#8220;button1&#8221;) then<br />
    &#8230;perform some action&#8230;</p>
<p>if (button2.value==&#8221;button2&#8221;) then<br />
    &#8230;perform some other action&#8230;</p>
<p>I&#8217;m using this technique in a web app at work and it works great! Plus, it&#8217;s a snap to make this image buttons by nesting an  in the  tags.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yaili</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-832</link>
		<dc:creator>Yaili</dc:creator>
		<pubDate>Thu, 22 May 2008 17:13:36 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-832</guid>
		<description>It's a pity that these things (errors...) always happen on Opera, because, from my experience, it ends up being the most stable and light browser around. I use it all the time when Firefox starts getting heavy :)
Anyway, I enjoyed this article, thanks!</description>
		<content:encoded><![CDATA[<p>It&#8217;s a pity that these things (errors&#8230;) always happen on Opera, because, from my experience, it ends up being the most stable and light browser around. I use it all the time when Firefox starts getting heavy :)<br />
Anyway, I enjoyed this article, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sasa Bogdanovic</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-827</link>
		<dc:creator>Sasa Bogdanovic</dc:creator>
		<pubDate>Thu, 22 May 2008 14:49:56 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-827</guid>
		<description>Yes, both issues are know for quite some time and I have exeprienced them myself. Since then, I am using &#60;input type="submit" /&#62; for submit buttons.

When it comes to styling the form elements, including buttons and inputs, I guess there is no better reference than Roger Johansson and his articles &lt;a href="http://www.456bereastreet.com/archive/200701/styling_form_controls_with_css_revisited/" rel="nofollow"&gt;Styling form controls with CSS, revisited&lt;/a&gt; and previous ones referenced there.</description>
		<content:encoded><![CDATA[<p>Yes, both issues are know for quite some time and I have exeprienced them myself. Since then, I am using &lt;input type=&#8221;submit&#8221; /&gt; for submit buttons.</p>
<p>When it comes to styling the form elements, including buttons and inputs, I guess there is no better reference than Roger Johansson and his articles <a href="http://www.456bereastreet.com/archive/200701/styling_form_controls_with_css_revisited/" rel="nofollow">Styling form controls with CSS, revisited</a> and previous ones referenced there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-826</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Thu, 22 May 2008 13:11:06 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-826</guid>
		<description>@Nacho-
Hmm yeah you are right. Opera really does not have much of a market share, but it would be nice to figure out how to get it to work in it.

@Scot-
It matters for the example of the &lt;a href="http://grouplogic.com/store/" rel="nofollow"&gt;Group Logic store&lt;/a&gt; (once you&#8217;ve added something to your cart and are viewing the cart). There are 3 different submit button on the form for the cart, and depending upon what you click, you will be redirected accordingly. I don&#8217;t see any reason why you would question the usability on that.

@Frak-
Nice, glad it helped!</description>
		<content:encoded><![CDATA[<p>@Nacho-<br />
Hmm yeah you are right. Opera really does not have much of a market share, but it would be nice to figure out how to get it to work in it.</p>
<p>@Scot-<br />
It matters for the example of the <a href="http://grouplogic.com/store/" rel="nofollow">Group Logic store</a> (once you&rsquo;ve added something to your cart and are viewing the cart). There are 3 different submit button on the form for the cart, and depending upon what you click, you will be redirected accordingly. I don&rsquo;t see any reason why you would question the usability on that.</p>
<p>@Frak-<br />
Nice, glad it helped!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frak</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-825</link>
		<dc:creator>Frak</dc:creator>
		<pubDate>Thu, 22 May 2008 13:10:29 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-825</guid>
		<description>@Nacho: Verified, it doesn't work in Opera.

[cough] Who cares? [/cough]

Seriously, Opera is ignoring the text-indent bit and using !important doesn't force it either. You could use jQuery or similar to detect Opera and remove the value="". Granted, that's a kludgy solution, but I haven't spent time trying to figure out a more proper CSS way of doing it [cough] because it's Opera [/cough].</description>
		<content:encoded><![CDATA[<p>@Nacho: Verified, it doesn&#8217;t work in Opera.</p>
<p>[cough] Who cares? [/cough]</p>
<p>Seriously, Opera is ignoring the text-indent bit and using !important doesn&#8217;t force it either. You could use jQuery or similar to detect Opera and remove the value=&#8221;&#8220;. Granted, that&#8217;s a kludgy solution, but I haven&#8217;t spent time trying to figure out a more proper CSS way of doing it [cough] because it&#8217;s Opera [/cough].</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frak</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-824</link>
		<dc:creator>Frak</dc:creator>
		<pubDate>Thu, 22 May 2008 13:03:03 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-824</guid>
		<description>Awesome post. Used your idea this morning on a project -- it's been bugging me and this was the perfect solution. Thanks!</description>
		<content:encoded><![CDATA[<p>Awesome post. Used your idea this morning on a project &#8212; it&#8217;s been bugging me and this was the perfect solution. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Reynen</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-823</link>
		<dc:creator>Scott Reynen</dc:creator>
		<pubDate>Thu, 22 May 2008 13:02:31 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-823</guid>
		<description>"Apparently, the value from the button does not get passed onto the server."

Why does this matter? Unless the form has multiple submit buttons, any value passed with the button could just as easily be passed with a hidden input (or not passed at all and just assumed). And if the form does have multiple submit buttons, I'd question the usability.</description>
		<content:encoded><![CDATA[<p>&#8220;Apparently, the value from the button does not get passed onto the server.&#8221;</p>
<p>Why does this matter? Unless the form has multiple submit buttons, any value passed with the button could just as easily be passed with a hidden input (or not passed at all and just assumed). And if the form does have multiple submit buttons, I&#8217;d question the usability.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nacho</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-822</link>
		<dc:creator>Nacho</dc:creator>
		<pubDate>Thu, 22 May 2008 12:39:06 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-822</guid>
		<description>Doesn't work in Opera dude : p</description>
		<content:encoded><![CDATA[<p>Doesn&#8217;t work in Opera dude : p</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: acidic68</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-821</link>
		<dc:creator>acidic68</dc:creator>
		<pubDate>Thu, 22 May 2008 12:06:47 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-821</guid>
		<description>I like your solution very much. I would use it in my project if I could, but I can't. We have a multilanguage interface, so we cannot imbed text into the image. If I used only the background images and left the text alone, without indenting it, resizing font in the browser would make the buttons look ugly.  Thanks for sharing nevertheless!</description>
		<content:encoded><![CDATA[<p>I like your solution very much. I would use it in my project if I could, but I can&#8217;t. We have a multilanguage interface, so we cannot imbed text into the image. If I used only the background images and left the text alone, without indenting it, resizing font in the browser would make the buttons look ugly.  Thanks for sharing nevertheless!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JamieO</title>
		<link>http://trevordavis.net/blog/tutorial/input-vs-button/#comment-820</link>
		<dc:creator>JamieO</dc:creator>
		<pubDate>Thu, 22 May 2008 11:42:23 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=211#comment-820</guid>
		<description>The good thing about using the submit is that should someone have css turned off or unavailable (???) your button still looks like a button. You can do that with the other methods, but as you pointed out it may require additional dependencies (JS) to achieve.</description>
		<content:encoded><![CDATA[<p>The good thing about using the submit is that should someone have css turned off or unavailable (???) your button still looks like a button. You can do that with the other methods, but as you pointed out it may require additional dependencies (JS) to achieve.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
