<?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 Alernative to Negative Text Indent for Image Replacement &#8211; CSS</title>
	<atom:link href="http://www.drunkenfist.com/304/2007/03/19/an-alernative-to-negative-text-indent-for-image-replacement-css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.drunkenfist.com/304/2007/03/19/an-alernative-to-negative-text-indent-for-image-replacement-css/</link>
	<description>Rob Larsen writes on entertainment, sports and culture.</description>
	<lastBuildDate>Sun, 14 Mar 2010 17:54:20 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: David</title>
		<link>http://www.drunkenfist.com/304/2007/03/19/an-alernative-to-negative-text-indent-for-image-replacement-css/#comment-21247</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sat, 23 Jan 2010 20:41:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.drunkenfist.com/304/2007/03/19/an-alernative-to-negative-text-indent-for-image-replacement-css/#comment-21247</guid>
		<description>All methods described above have their disatvantages.

The opacity-method could be even easyer with using &quot;visibility:hidden&quot;. This method though, is not used much because there are rumours that some search-engine spiders ignore links that are hidden by CSS. 
Also, this method requires an extra element inside the element with the image-replacement.

With an overlay div, you won&#039;t be able to click on links under the overlay. So it won&#039;t be able to link your logo to the index page. Also, for menu&#039;s this method is useless.

Using negative text-indent has none of these disadvantages. It&#039;s the only method that doesn&#039;t require any changes in your HTML. And that&#039;s really a good thing for accessibility, SEO and page-load time.</description>
		<content:encoded><![CDATA[<p>All methods described above have their disatvantages.</p>
<p>The opacity-method could be even easyer with using &quot;visibility:hidden&quot;. This method though, is not used much because there are rumours that some search-engine spiders ignore links that are hidden by CSS.<br />
Also, this method requires an extra element inside the element with the image-replacement.</p>
<p>With an overlay div, you won't be able to click on links under the overlay. So it won't be able to link your logo to the index page. Also, for menu's this method is useless.</p>
<p>Using negative text-indent has none of these disadvantages. It's the only method that doesn't require any changes in your HTML. And that's really a good thing for accessibility, SEO and page-load time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke Franklin</title>
		<link>http://www.drunkenfist.com/304/2007/03/19/an-alernative-to-negative-text-indent-for-image-replacement-css/#comment-19795</link>
		<dc:creator>Luke Franklin</dc:creator>
		<pubDate>Sat, 13 Jun 2009 12:07:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.drunkenfist.com/304/2007/03/19/an-alernative-to-negative-text-indent-for-image-replacement-css/#comment-19795</guid>
		<description>Here&#039;s my method and it&#039;s even less hacky.

HTML:
&lt;&#100;&#105;&#118;&#32;&#105;&#100;&#61;&quot;&#66;&#97;&#110;&#110;&#101;&#114;&quot;&gt;&#32;&#32;&#32;&#32;&lt;&#104;&#49;&gt;&#73;&#110;&#110;&#111;&#118;&#97;&#116;&#105;&#118;&#101;&#32;&#87;&#101;&#98;&#32;&#68;&#101;&#115;&#105;&#103;&#110;&lt;&#47;&#104;&#49;&gt;&#32;&#32;&#32;&#32;&lt;&#113;&gt;&#84;&#104;&#101;&#32;&#103;&#114;&#101;&#97;&#116;&#101;&#115;&#116;&#32;&#105;&#110;&#110;&#111;&#118;&#97;&#116;&#105;&#111;&#110;&#32;&#105;&#115;&#32;&#115;&#105;&#109;&#112;&#108;&#105;&#99;&#105;&#116;&#121;&#33;&lt;&#47;&#113;&gt;&#32;&#32;&#32;&#32;&lt;&#100;&#105;&#118;&#32;&#99;&#108;&#97;&#115;&#115;&#61;&quot;&#79;&#118;&#101;&#114;&#108;&#97;&#121;&quot;&gt;&#32;&#32;&#32;&#32;&lt;&#47;&#100;&#105;&#118;&gt;&lt;&#47;&#100;&#105;&#118;&gt;


CSS:
#Banner
{
	position: relative;
	width: 100%;
	height: 300px;
	text-align: center;
	background-color: #c5e3fa;
}
#Banner h1
{
	padding-top: 100px;
}
#Banner .Overlay
{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-image: url( &#039;../Images/Banner.jpg&#039; );
	background-position: center bottom;
	background-repeat: repeat;
}</description>
		<content:encoded><![CDATA[<p>Here's my method and it's even less hacky.</p>
<p>HTML:<br />
&#60;&#100;&#105;&#118;&#32;&#105;&#100;&#61;&#34;&#66;&#97;&#110;&#110;&#101;&#114;&#34;&#62;&#32;&#32;&#32;&#32;&#60;&#104;&#49;&#62;&#73;&#110;&#110;&#111;&#118;&#97;&#116;&#105;&#118;&#101;&#32;&#87;&#101;&#98;&#32;&#68;&#101;&#115;&#105;&#103;&#110;&#60;&#47;&#104;&#49;&#62;&#32;&#32;&#32;&#32;&#60;&#113;&#62;&#84;&#104;&#101;&#32;&#103;&#114;&#101;&#97;&#116;&#101;&#115;&#116;&#32;&#105;&#110;&#110;&#111;&#118;&#97;&#116;&#105;&#111;&#110;&#32;&#105;&#115;&#32;&#115;&#105;&#109;&#112;&#108;&#105;&#99;&#105;&#116;&#121;&#33;&#60;&#47;&#113;&#62;&#32;&#32;&#32;&#32;&#60;&#100;&#105;&#118;&#32;&#99;&#108;&#97;&#115;&#115;&#61;&#34;&#79;&#118;&#101;&#114;&#108;&#97;&#121;&#34;&#62;&#32;&#32;&#32;&#32;&#60;&#47;&#100;&#105;&#118;&#62;&#60;&#47;&#100;&#105;&#118;&#62;</p>
<p>CSS:<br />
#Banner<br />
{<br />
	position: relative;<br />
	width: 100%;<br />
	height: 300px;<br />
	text-align: center;<br />
	background-color: #c5e3fa;<br />
}<br />
#Banner h1<br />
{<br />
	padding-top: 100px;<br />
}<br />
#Banner .Overlay<br />
{<br />
	position: absolute;<br />
	top: 0px;<br />
	left: 0px;<br />
	width: 100%;<br />
	height: 100%;<br />
	background-image: url( '../Images/Banner.jpg' );<br />
	background-position: center bottom;<br />
	background-repeat: repeat;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rob</title>
		<link>http://www.drunkenfist.com/304/2007/03/19/an-alernative-to-negative-text-indent-for-image-replacement-css/#comment-19767</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Sat, 06 Jun 2009 23:03:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.drunkenfist.com/304/2007/03/19/an-alernative-to-negative-text-indent-for-image-replacement-css/#comment-19767</guid>
		<description>Hi Chris, 

That is simpler, but it fails in a basic way I normally use the pattern. 

I actually set the &lt;A&gt; to display:block and give it a height and width to set a hit area for clicks, so setting display:none is not an option.</description>
		<content:encoded><![CDATA[<p>Hi Chris, </p>
<p>That is simpler, but it fails in a basic way I normally use the pattern. </p>
<p>I actually set the &lt;A&gt; to display:block and give it a height and width to set a hit area for clicks, so setting display:none is not an option.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.drunkenfist.com/304/2007/03/19/an-alernative-to-negative-text-indent-for-image-replacement-css/#comment-19762</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 05 Jun 2009 21:24:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.drunkenfist.com/304/2007/03/19/an-alernative-to-negative-text-indent-for-image-replacement-css/#comment-19762</guid>
		<description>You could also use display: none on the &lt;a/&gt; element.  Much simpler.</description>
		<content:encoded><![CDATA[<p>You could also use display: none on the &lt;a/&gt; element.  Much simpler.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel</title>
		<link>http://www.drunkenfist.com/304/2007/03/19/an-alernative-to-negative-text-indent-for-image-replacement-css/#comment-17566</link>
		<dc:creator>Joel</dc:creator>
		<pubDate>Tue, 13 Jan 2009 18:04:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.drunkenfist.com/304/2007/03/19/an-alernative-to-negative-text-indent-for-image-replacement-css/#comment-17566</guid>
		<description>or you could just do this: 

a:active, a:focus {outline:none;}

problem solved!</description>
		<content:encoded><![CDATA[<p>or you could just do this: </p>
<p>a:active, a:focus {outline:none;}</p>
<p>problem solved!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
