<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
<channel>
<title>CodeStore.net comments on "Using Image Sprites To Add Icons to HTML Input Buttons"</title>
<description>Replies to blog "Using Image Sprites To Add Icons to HTML Input Buttons" on codestore.net.</description>
<link>http://www.codestore.net/</link>
<lastBuildDate>Wed, 21 Sep 2011 01:46:53 -0500</lastBuildDate>
<atom:link href="http://www.codestore.net/store.nsf/blog.xml?Open=20110920-0355" rel="self" type="application/rss+xml" />

<item>
	<title>Reply from Patrick Kwinten</title>
	<pubDate>Wed, 21 Sep 2011 01:46:53 -0500</pubDate>
	<author>Patrick Kwinten</author>
	<description><![CDATA[ 
		<p>or use XPages and add an icon reference in the properties box?</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=FB3E10119A4113CC862579120025404A"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20110920-0355?OpenDocument#DOC_FB3E1011</link>
</item><item>
	<title>Reply from Ferdy</title>
	<pubDate>Tue, 20 Sep 2011 15:16:14 -0500</pubDate>
	<author>Ferdy</author>
	<description><![CDATA[ 
		<p>Jake,</p>
		<p>First of all, both approaches work and are just fine. The image approach is robust and creates a great, consistent result. The small downsides are the image's download size and the inflexibility. </p>
		<p>Still, I'd like to make an attempt on selling CSS3 to you. Here's a few reasons:</p>
		<p>- You don't need hacks. At the most you need a few vendor-extensions in your CSS. They're not pretty, but they're not hacks. In fact, vendor extensions are the standardized way to do this as long as the implementation is not final yet.</p>
		<p>- CSS3 can accomplish the look you are after. I see rounded corners, shadows and an inner gradient. CSS3 can do all of this. The big bonus is that you can change the color, size, rounding, etc without needing to create a new image.</p>
		<p>- If you use vendor extensions you'll be surprised how many browsers you cover. And guess what, it is not going to suck for unsupported browsers. They'll still get a button, a colored one, with a label.</p>
		<p>The last idea is actually the most important concept. The idea that a design needs to look 100% the same across browsers is dated. Better browsers get a better experience, lesser browsers still get a good experience. Unless, of course, you have a client that insists on pixel perfect IE6 support. In that case you make it visible how much such a request costs. I bet they will think a square button is fine. </p>
		<p>To show you how incredibly subtle these differences can be:</p>
		<p><a rel="nofollow" href="http://www.ferdychristant.com/blog/archive/DOMM-83SSEX">http://www.ferdychristant.com/blog/archive/DOMM-83SSEX</a></p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=FF68676D2B137D0686257911006F596C"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20110920-0355?OpenDocument&amp;r=FF68676D2B137D0686257911006F596C#DOC_FF68676D</link>
</item><item>
	<title>Reply from Jake Howlett</title>
	<pubDate>Tue, 20 Sep 2011 14:57:39 -0500</pubDate>
	<author>Jake Howlett</author>
	<description><![CDATA[ 
		<p>I respect your opinions and knowledge Ferdy so I'll take it as read that CSS3 is a better option. I'm yet to be completely sold on the idea though. Probably because I've not used it extensively. From what I have seen though I don't think it can reproduce the niceness of an image yet. Not across all browsers in a consistent fashion anyway. See the second link in the main article to the post about creating realistic button images. It talks about adding an inner border and a semi-transparent half-sized rectangle overly on a simple gradient background to make it look truly button-like. While the same thing can probably be achieved with CSS3 I'd imagine it would involve a lot of messy hackery. For now I think I'll stick with using images.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=257FFDFC6ED6BA7286257911006DA5F7"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20110920-0355?OpenDocument#DOC_257FFDFC</link>
</item><item>
	<title>Reply from Sam</title>
	<pubDate>Tue, 20 Sep 2011 10:09:39 -0500</pubDate>
	<author>Sam</author>
	<description><![CDATA[ 
		<p>Great trick! There's a project I have right now where I can plug this right in. If you could upload the sample database, it would be much appreciated. Thanks, Jake!</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=37DCF3248C3EB56986257911005347BF"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20110920-0355?OpenDocument#DOC_37DCF324</link>
</item><item>
	<title>Reply from Ferdy</title>
	<pubDate>Tue, 20 Sep 2011 10:05:29 -0500</pubDate>
	<author>Ferdy</author>
	<description><![CDATA[ 
		<p>Personally, I'd get rid of that  blue graphic and code the gradient and rounded corners in CSS3. For IE, you can use the gradient filter. </p>
		<p>The icons are fine, but even those can possibly be replaced with Unicode characters to make it completely image-free.</p>
		<p>I use this quite a lot:</p>
		<p><a rel="nofollow" href="http://css3button.net/">http://css3button.net/</a></p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=C3EE1B594064595B862579110052E5E5"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20110920-0355?OpenDocument#DOC_C3EE1B59</link>
</item><item>
	<title>Reply from Jake Howlett</title>
	<pubDate>Tue, 20 Sep 2011 09:45:00 -0500</pubDate>
	<author>Jake Howlett</author>
	<description><![CDATA[ 
		<p>Good points! Both worth bearing in mind.</p>
		<p>Why are you commenting? Maybe to remind me that people are listening ;-) Also because it's not just me that reads the comments. You're helping enlighten others - not just me.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=04863842C6882271862579110051061F"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20110920-0355?OpenDocument#DOC_04863842</link>
</item><item>
	<title>Reply from Satourne</title>
	<pubDate>Tue, 20 Sep 2011 08:29:32 -0500</pubDate>
	<author>Satourne</author>
	<description><![CDATA[ 
		<p>Hello,</p>
		<p>interresting but there's a limitation with the button width (and it's value) ...</p>
		<p>With HTML5 you can use a background with the icon and add rounded corners to the button but i think you know that ...</p>
		<p>Using image sprites requires less HTTP requests than several images but i think you know that ...</p>
		<p>So why am i replying to this post ? ...</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=7DBB5660D9B933F486257911004A1D78"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20110920-0355?OpenDocument#DOC_7DBB5660</link>
</item>

</channel>
</rss> 
