<?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: HTML image no preload rollovers</title>
	<atom:link href="http://www.tyssendesign.com.au/articles/css/html-image-no-preload-rollovers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tyssendesign.com.au/articles/css/html-image-no-preload-rollovers/</link>
	<description>Web design &#38; development and print design services located in The Gap, Brisbane</description>
	<lastBuildDate>Sun, 14 Mar 2010 01:49:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: John Faulds</title>
		<link>http://www.tyssendesign.com.au/articles/css/html-image-no-preload-rollovers/comment-page-1/#comment-1807</link>
		<dc:creator>John Faulds</dc:creator>
		<pubDate>Thu, 04 Dec 2008 02:55:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.tyssendesign.com.au/articles/css/html-image-no-preload-rollover/#comment-1807</guid>
		<description>Hi Danny, yes, you could do that, that&#039;s a pretty good idea. :)</description>
		<content:encoded><![CDATA[<p>Hi Danny, yes, you could do that, that&#8217;s a pretty good idea. <img src='http://www.tyssendesign.com.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny</title>
		<link>http://www.tyssendesign.com.au/articles/css/html-image-no-preload-rollovers/comment-page-1/#comment-1806</link>
		<dc:creator>Danny</dc:creator>
		<pubDate>Thu, 04 Dec 2008 02:25:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.tyssendesign.com.au/articles/css/html-image-no-preload-rollover/#comment-1806</guid>
		<description>&lt;blockquote&gt;Yes using only one image would be faster, but perhaps you could suggest how this technique could be accomplished using just one image when the image is in the HTML?&lt;/blockquote&gt;

I just came across your site and I thought I would see if I could figure this out.

This seems to work pretty well.

The &#039;img.gif&#039; file is a copy of &lt;a href=&quot;http://www.wellstyled.com/files/css-nopreload-rollovers/button.gif&quot; rel=&quot;nofollow&quot;&gt;this file&lt;/a&gt;
&lt;code&gt;
&lt;style type=&quot;text/css&quot;&gt;
	a {
display:block;
width:157px;
height:27px;
overflow:hidden;
background: url(img.gif) no-repeat;
}
a:hover {
	text-indent: -9999em;
	line-height: 1;
	background-position:-157px 0px;
	}
a:hover img, a:focus img {
	display: none;
	}
a:focus {
	background-position:-314px 0px;
	}
img {
	border:0;
	}
	&lt;/style&gt;
	&lt;a href=&quot;#&quot;&gt;
	&lt;img src=&quot;img.gif&quot; alt=&quot;Image&quot; /&gt;
	&lt;/a&gt;
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<blockquote><p>Yes using only one image would be faster, but perhaps you could suggest how this technique could be accomplished using just one image when the image is in the&nbsp;HTML?</p></blockquote>
<p>I just came across your site and I thought I would see if I could figure this&nbsp;out.</p>
<p>This seems to work pretty&nbsp;well.</p>
<p>The &#8216;img.gif&#8217; file is a copy of <a href="http://www.wellstyled.com/files/css-nopreload-rollovers/button.gif" rel="nofollow">this file</a><br />
<code><br />
&lt;style type=&quot;text/css&quot;&gt;<br />
	a {<br />
display:block;<br />
width:157px;<br />
height:27px;<br />
overflow:hidden;<br />
background: url(img.gif) no-repeat;<br />
}<br />
a:hover {<br />
	text-indent: -9999em;<br />
	line-height: 1;<br />
	background-position:-157px 0px;<br />
	}<br />
a:hover img, a:focus img {<br />
	display: none;<br />
	}<br />
a:focus {<br />
	background-position:-314px 0px;<br />
	}<br />
img {<br />
	border:0;<br />
	}<br />
	&lt;/style&gt;<br />
	&lt;a href=&quot;#&quot;&gt;<br />
	&lt;img src=&quot;img.gif&quot; alt=&quot;Image&quot; /&gt;<br />
	&lt;/a&gt;<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Knick-Knack</title>
		<link>http://www.tyssendesign.com.au/articles/css/html-image-no-preload-rollovers/comment-page-1/#comment-1301</link>
		<dc:creator>Knick-Knack</dc:creator>
		<pubDate>Wed, 30 Apr 2008 08:52:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.tyssendesign.com.au/articles/css/html-image-no-preload-rollover/#comment-1301</guid>
		<description>[...] HTML image no preload rollovers. Doing an in-place image replacement for when someone puts their mouse over the original image. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] HTML image no preload rollovers. Doing an in-place image replacement for when someone puts their mouse over the original image.&nbsp;[&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Faulds</title>
		<link>http://www.tyssendesign.com.au/articles/css/html-image-no-preload-rollovers/comment-page-1/#comment-1160</link>
		<dc:creator>John Faulds</dc:creator>
		<pubDate>Wed, 26 Mar 2008 21:23:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.tyssendesign.com.au/articles/css/html-image-no-preload-rollover/#comment-1160</guid>
		<description>Yes using only one image would be faster, but perhaps you could suggest how this technique could be accomplished using just one image when the image is in the HTML?</description>
		<content:encoded><![CDATA[<p>Yes using only one image would be faster, but perhaps you could suggest how this technique could be accomplished using just one image when the image is in the&nbsp;HTML?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.tyssendesign.com.au/articles/css/html-image-no-preload-rollovers/comment-page-1/#comment-1159</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Wed, 26 Mar 2008 21:14:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.tyssendesign.com.au/articles/css/html-image-no-preload-rollover/#comment-1159</guid>
		<description>Deepblue is right - less requests to the server with just one image is a faster load time overall.</description>
		<content:encoded><![CDATA[<p>Deepblue is right - less requests to the server with just one image is a faster load time&nbsp;overall.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Posh CSS: HTML image no preload rollovers</title>
		<link>http://www.tyssendesign.com.au/articles/css/html-image-no-preload-rollovers/comment-page-1/#comment-1157</link>
		<dc:creator>Posh CSS: HTML image no preload rollovers</dc:creator>
		<pubDate>Tue, 25 Mar 2008 09:57:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.tyssendesign.com.au/articles/css/html-image-no-preload-rollover/#comment-1157</guid>
		<description>[...] HTML image no preload&#160;rollovers [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] HTML image no preload&#160;rollovers&nbsp;[&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DeepBlue</title>
		<link>http://www.tyssendesign.com.au/articles/css/html-image-no-preload-rollovers/comment-page-1/#comment-1107</link>
		<dc:creator>DeepBlue</dc:creator>
		<pubDate>Thu, 28 Feb 2008 17:48:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.tyssendesign.com.au/articles/css/html-image-no-preload-rollover/#comment-1107</guid>
		<description>THis method is much better than Visibility because number of images will be reduced to half ---&gt; faster page loading.</description>
		<content:encoded><![CDATA[<p>THis method is much better than Visibility because number of images will be reduced to half&thinsp;&#8212;&thinsp;-&gt; faster page&nbsp;loading.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Faulds</title>
		<link>http://www.tyssendesign.com.au/articles/css/html-image-no-preload-rollovers/comment-page-1/#comment-1005</link>
		<dc:creator>John Faulds</dc:creator>
		<pubDate>Tue, 22 Jan 2008 09:56:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.tyssendesign.com.au/articles/css/html-image-no-preload-rollover/#comment-1005</guid>
		<description>&lt;blockquote&gt;&lt;p&gt;Why don’t you use &lt;code&gt;visibility:hidden&lt;/code&gt; on the img element anyway?&lt;/p&gt;&lt;/blockquote&gt;

Yes, &lt;code&gt;visibility:hidden&lt;/code&gt; will work too but it seems to be a case of six of one, half a dozen of another with this example.</description>
		<content:encoded><![CDATA[<blockquote><p>Why don’t you use <code>visibility:hidden</code> on the img element&nbsp;anyway?</p>
</blockquote>
<p>Yes, <code>visibility:hidden</code> will work too but it seems to be a case of six of one, half a dozen of another with this&nbsp;example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kravvitz</title>
		<link>http://www.tyssendesign.com.au/articles/css/html-image-no-preload-rollovers/comment-page-1/#comment-1003</link>
		<dc:creator>Kravvitz</dc:creator>
		<pubDate>Tue, 22 Jan 2008 07:22:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.tyssendesign.com.au/articles/css/html-image-no-preload-rollover/#comment-1003</guid>
		<description>visibility:visible does the trick in IE6 for a:hover too.

Why don&#039;t you use visibility:hidden on the img element anyway?</description>
		<content:encoded><![CDATA[<p>visibility:visible does the trick in IE6 for a:hover&nbsp;too.</p>
<p>Why don&#8217;t you use visibility:hidden on the img element&nbsp;anyway?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://www.tyssendesign.com.au/articles/css/html-image-no-preload-rollovers/comment-page-1/#comment-897</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Tue, 11 Dec 2007 03:38:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.tyssendesign.com.au/articles/css/html-image-no-preload-rollover/#comment-897</guid>
		<description>Really a nice method, but maybe the cleaner method is the better one.</description>
		<content:encoded><![CDATA[<p>Really a nice method, but maybe the cleaner method is the better&nbsp;one.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
