<?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: CSS Spriting without background-image</title>
	<atom:link href="http://ajaxian.com/archives/css-spriting-without-background-image/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/css-spriting-without-background-image</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Sat, 20 Mar 2010 13:30:04 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: mawe</title>
		<link>http://ajaxian.com/archives/css-spriting-without-background-image/comment-page-1#comment-270017</link>
		<dc:creator>mawe</dc:creator>
		<pubDate>Sun, 21 Dec 2008 00:35:50 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5364#comment-270017</guid>
		<description>You misspelled her lastname.</description>
		<content:encoded><![CDATA[<p>You misspelled her lastname.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jaffathecake</title>
		<link>http://ajaxian.com/archives/css-spriting-without-background-image/comment-page-1#comment-269917</link>
		<dc:creator>jaffathecake</dc:creator>
		<pubDate>Wed, 17 Dec 2008 12:44:22 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5364#comment-269917</guid>
		<description>I tried using this technique earlier in the year but had to drop it as it doesn&#039;t play well with filter:alpha(opacity=x). Shame really.</description>
		<content:encoded><![CDATA[<p>I tried using this technique earlier in the year but had to drop it as it doesn&#8217;t play well with filter:alpha(opacity=x). Shame really.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bunnyhero</title>
		<link>http://ajaxian.com/archives/css-spriting-without-background-image/comment-page-1#comment-269855</link>
		<dc:creator>bunnyhero</dc:creator>
		<pubDate>Sun, 14 Dec 2008 00:27:50 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5364#comment-269855</guid>
		<description>i used this technique back in 2004 for my &lt;a href=&quot;http://bunnyherolabs.com/dhtml/monster.php&quot; rel=&quot;nofollow&quot;&gt;monster attack thing&lt;/a&gt;, although i didn&#039;t use clip, i used overflow: hidden on the parent div. like @p01, i did this to support scaling.</description>
		<content:encoded><![CDATA[<p>i used this technique back in 2004 for my <a href="http://bunnyherolabs.com/dhtml/monster.php" rel="nofollow">monster attack thing</a>, although i didn&#8217;t use clip, i used overflow: hidden on the parent div. like @p01, i did this to support scaling.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sirus</title>
		<link>http://ajaxian.com/archives/css-spriting-without-background-image/comment-page-1#comment-269836</link>
		<dc:creator>sirus</dc:creator>
		<pubDate>Fri, 12 Dec 2008 22:49:40 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5364#comment-269836</guid>
		<description>See to next generation of CSS Sprites based on data:URI &lt;a href=&quot;http://duris.ru&quot; title=&quot;DataURI[CSS]Spites&quot; rel=&quot;nofollow&quot;&gt;DURIS - Data:URI [CSS] Spites&lt;/a&gt; . 
Will soon appear description on english.</description>
		<content:encoded><![CDATA[<p>See to next generation of CSS Sprites based on data:URI <a href="http://duris.ru" title="DataURI[CSS]Spites" rel="nofollow">DURIS &#8211; Data:URI [CSS] Spites</a> .<br />
Will soon appear description on english.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tajary</title>
		<link>http://ajaxian.com/archives/css-spriting-without-background-image/comment-page-1#comment-269827</link>
		<dc:creator>tajary</dc:creator>
		<pubDate>Fri, 12 Dec 2008 21:49:53 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5364#comment-269827</guid>
		<description>Thanks. It is a good trick.</description>
		<content:encoded><![CDATA[<p>Thanks. It is a good trick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RodrigoCardoso</title>
		<link>http://ajaxian.com/archives/css-spriting-without-background-image/comment-page-1#comment-269798</link>
		<dc:creator>RodrigoCardoso</dc:creator>
		<pubDate>Fri, 12 Dec 2008 13:11:37 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5364#comment-269798</guid>
		<description>ProggerPete — Good solution, maybe a better solution I think :)</description>
		<content:encoded><![CDATA[<p>ProggerPete — Good solution, maybe a better solution I think :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ProggerPete</title>
		<link>http://ajaxian.com/archives/css-spriting-without-background-image/comment-page-1#comment-269788</link>
		<dc:creator>ProggerPete</dc:creator>
		<pubDate>Fri, 12 Dec 2008 11:32:47 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5364#comment-269788</guid>
		<description>I don&#039;t get why the clip method is so exciting?  Once you have to nest elements to get the effect why not just set overflow: hidden on the parent?

The whole business could be done much simpler with

.menu-about { width: 106px; height: 29px; overflow: hidden; }
.menu-about img { margin-left: -293px; }</description>
		<content:encoded><![CDATA[<p>I don&#8217;t get why the clip method is so exciting?  Once you have to nest elements to get the effect why not just set overflow: hidden on the parent?</p>
<p>The whole business could be done much simpler with</p>
<p>.menu-about { width: 106px; height: 29px; overflow: hidden; }<br />
.menu-about img { margin-left: -293px; }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tr0y</title>
		<link>http://ajaxian.com/archives/css-spriting-without-background-image/comment-page-1#comment-269785</link>
		<dc:creator>Tr0y</dc:creator>
		<pubDate>Fri, 12 Dec 2008 09:23:54 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5364#comment-269785</guid>
		<description>This is a cool alt css technique no doubt.

Just avoid for sites that may be used on a cellphone.</description>
		<content:encoded><![CDATA[<p>This is a cool alt css technique no doubt.</p>
<p>Just avoid for sites that may be used on a cellphone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: epascarello</title>
		<link>http://ajaxian.com/archives/css-spriting-without-background-image/comment-page-1#comment-269780</link>
		<dc:creator>epascarello</dc:creator>
		<pubDate>Fri, 12 Dec 2008 00:41:11 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5364#comment-269780</guid>
		<description>One bad thing about this technique is view the page without CSS styling.  [Firefox = View --&gt; Page Style --&gt; No Style] 
.
You get big images on the page where ever you use this technique. So if you use one big image for every graphic on your site, I will feel sorry for your users that have special needs.</description>
		<content:encoded><![CDATA[<p>One bad thing about this technique is view the page without CSS styling.  [Firefox = View --&gt; Page Style --&gt; No Style]<br />
.<br />
You get big images on the page where ever you use this technique. So if you use one big image for every graphic on your site, I will feel sorry for your users that have special needs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jennyfofenny</title>
		<link>http://ajaxian.com/archives/css-spriting-without-background-image/comment-page-1#comment-269778</link>
		<dc:creator>jennyfofenny</dc:creator>
		<pubDate>Thu, 11 Dec 2008 23:25:13 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5364#comment-269778</guid>
		<description>tlrobinson -  the problem is that the image is full size and the clipping property clips it (without realigning the top left of the image), so it will be offset from where you might expect it. If you plan on repositioning it with the absolute property (the top and left properties), then it would be fine, but like I said, the image will be offset without it.

mm1982 - you bring up a good point. However, I think you could come up with good arguments for both sides. In my opinion, whether it&#039;s an image of text or a regular image, it should be in an image tag with corresponding alternate text (unless the image is inconsequential - eg, a background image).</description>
		<content:encoded><![CDATA[<p>tlrobinson &#8211;  the problem is that the image is full size and the clipping property clips it (without realigning the top left of the image), so it will be offset from where you might expect it. If you plan on repositioning it with the absolute property (the top and left properties), then it would be fine, but like I said, the image will be offset without it.</p>
<p>mm1982 &#8211; you bring up a good point. However, I think you could come up with good arguments for both sides. In my opinion, whether it&#8217;s an image of text or a regular image, it should be in an image tag with corresponding alternate text (unless the image is inconsequential &#8211; eg, a background image).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mm1982</title>
		<link>http://ajaxian.com/archives/css-spriting-without-background-image/comment-page-1#comment-269777</link>
		<dc:creator>mm1982</dc:creator>
		<pubDate>Thu, 11 Dec 2008 23:07:36 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5364#comment-269777</guid>
		<description>true jennyfofenny,

but you are displaying an image of text, thus they way I see it should really be text in the markup. I agree an image should be an image, but in that example the image as of text and so should really be text in my opinion</description>
		<content:encoded><![CDATA[<p>true jennyfofenny,</p>
<p>but you are displaying an image of text, thus they way I see it should really be text in the markup. I agree an image should be an image, but in that example the image as of text and so should really be text in my opinion</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tlrobinson</title>
		<link>http://ajaxian.com/archives/css-spriting-without-background-image/comment-page-1#comment-269776</link>
		<dc:creator>tlrobinson</dc:creator>
		<pubDate>Thu, 11 Dec 2008 23:03:50 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5364#comment-269776</guid>
		<description>It seems that if you want to absolutely position the image anyway there&#039;s no need for the outer div, just add the offsets to the position.

Unless I&#039;m missing something.</description>
		<content:encoded><![CDATA[<p>It seems that if you want to absolutely position the image anyway there&#8217;s no need for the outer div, just add the offsets to the position.</p>
<p>Unless I&#8217;m missing something.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jennyfofenny</title>
		<link>http://ajaxian.com/archives/css-spriting-without-background-image/comment-page-1#comment-269770</link>
		<dc:creator>jennyfofenny</dc:creator>
		<pubDate>Thu, 11 Dec 2008 19:48:47 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5364#comment-269770</guid>
		<description>akuehner: That&#039;s true for the div solution (of course, it may be a good tradeoff based on analysis). However in many cases, you&#039;ll want to use the anchor tag solution (for link functionality), and in that instance, there is no DOM bloat.</description>
		<content:encoded><![CDATA[<p>akuehner: That&#8217;s true for the div solution (of course, it may be a good tradeoff based on analysis). However in many cases, you&#8217;ll want to use the anchor tag solution (for link functionality), and in that instance, there is no DOM bloat.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: akuehner</title>
		<link>http://ajaxian.com/archives/css-spriting-without-background-image/comment-page-1#comment-269769</link>
		<dc:creator>akuehner</dc:creator>
		<pubDate>Thu, 11 Dec 2008 19:18:31 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5364#comment-269769</guid>
		<description>I think you shouldn&#039;t underestimate the overhead of the surrounding divs. The DOM should be as small as possible.</description>
		<content:encoded><![CDATA[<p>I think you shouldn&#8217;t underestimate the overhead of the surrounding divs. The DOM should be as small as possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SashaA</title>
		<link>http://ajaxian.com/archives/css-spriting-without-background-image/comment-page-1#comment-269767</link>
		<dc:creator>SashaA</dc:creator>
		<pubDate>Thu, 11 Dec 2008 19:10:53 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5364#comment-269767</guid>
		<description>Great idea; we&#039;ve had a fair amount of grief on Redfin with printing when it comes to sprites, which we use pretty religiously.  Somewhat interestingly, though, img tags and CSS-sprites are not orthogonal.  We use img tags with a dreaded blank pixel src and then layer the sprite in as a background.  Still not ideal, but the HTML is a little more semantic.</description>
		<content:encoded><![CDATA[<p>Great idea; we&#8217;ve had a fair amount of grief on Redfin with printing when it comes to sprites, which we use pretty religiously.  Somewhat interestingly, though, img tags and CSS-sprites are not orthogonal.  We use img tags with a dreaded blank pixel src and then layer the sprite in as a background.  Still not ideal, but the HTML is a little more semantic.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: p01</title>
		<link>http://ajaxian.com/archives/css-spriting-without-background-image/comment-page-1#comment-269765</link>
		<dc:creator>p01</dc:creator>
		<pubDate>Thu, 11 Dec 2008 18:11:13 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5364#comment-269765</guid>
		<description>Back in 2000 we used to call that the Canvas-Sprites technique on www.Javascript-games.org. This technique has the advantage to allow sprites scaling as I documented in the &lt;a href=&quot;http://www.3dtomb2.com/technical_infos.php#sprites_rendering_and_animation&quot; rel=&quot;nofollow&quot;&gt;technical informations of 3D TOMB II&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Back in 2000 we used to call that the Canvas-Sprites technique on <a href="http://www.Javascript-games.org" rel="nofollow">http://www.Javascript-games.org</a>. This technique has the advantage to allow sprites scaling as I documented in the <a href="http://www.3dtomb2.com/technical_infos.php#sprites_rendering_and_animation" rel="nofollow">technical informations of 3D TOMB II</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jennyfofenny</title>
		<link>http://ajaxian.com/archives/css-spriting-without-background-image/comment-page-1#comment-269763</link>
		<dc:creator>jennyfofenny</dc:creator>
		<pubDate>Thu, 11 Dec 2008 18:05:13 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5364#comment-269763</guid>
		<description>That&#039;s a good point, efattal, I&#039;ll have to think about that one.</description>
		<content:encoded><![CDATA[<p>That&#8217;s a good point, efattal, I&#8217;ll have to think about that one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jennyfofenny</title>
		<link>http://ajaxian.com/archives/css-spriting-without-background-image/comment-page-1#comment-269762</link>
		<dc:creator>jennyfofenny</dc:creator>
		<pubDate>Thu, 11 Dec 2008 18:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5364#comment-269762</guid>
		<description>Well, the reason I say it&#039;s more semantic is because if you&#039;re displaying an image, you should call it an image. However, the CSS background technique with text-indent may be better for SEO (depending on the image/text and your targeted keywords).</description>
		<content:encoded><![CDATA[<p>Well, the reason I say it&#8217;s more semantic is because if you&#8217;re displaying an image, you should call it an image. However, the CSS background technique with text-indent may be better for SEO (depending on the image/text and your targeted keywords).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: efattal</title>
		<link>http://ajaxian.com/archives/css-spriting-without-background-image/comment-page-1#comment-269760</link>
		<dc:creator>efattal</dc:creator>
		<pubDate>Thu, 11 Dec 2008 18:00:57 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5364#comment-269760</guid>
		<description>Very interesting indeed !!

Still, the CSS backgrounds has another advantage: if the CSS isn&#039;t supported, the image will not appear instead of letting the whole background image (that could be quite huge) appear. Try to disable the CSS in your browser and you&#039;ll see what I mean. On devices that don&#039;t manage CSS, this issue is a real problem.</description>
		<content:encoded><![CDATA[<p>Very interesting indeed !!</p>
<p>Still, the CSS backgrounds has another advantage: if the CSS isn&#8217;t supported, the image will not appear instead of letting the whole background image (that could be quite huge) appear. Try to disable the CSS in your browser and you&#8217;ll see what I mean. On devices that don&#8217;t manage CSS, this issue is a real problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mm1982</title>
		<link>http://ajaxian.com/archives/css-spriting-without-background-image/comment-page-1#comment-269759</link>
		<dc:creator>mm1982</dc:creator>
		<pubDate>Thu, 11 Dec 2008 17:55:55 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5364#comment-269759</guid>
		<description>I think in terms of semantics that solution is LESS semantic that traditional spriting. How is that image more semantic than say
About
and then hiding the text with text-indent: -999em and applying the css background sprite.</description>
		<content:encoded><![CDATA[<p>I think in terms of semantics that solution is LESS semantic that traditional spriting. How is that image more semantic than say<br />
About<br />
and then hiding the text with text-indent: -999em and applying the css background sprite.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
