<?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>Thu, 26 Jan 2012 05:39:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Richard</title>
		<link>http://www.drunkenfist.com/304/2007/03/19/an-alernative-to-negative-text-indent-for-image-replacement-css/#comment-22871</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Mon, 07 Feb 2011 14:57:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.drunkenfist.com/304/2007/03/19/an-alernative-to-negative-text-indent-for-image-replacement-css/#comment-22871</guid>
		<description>Agree with David... text-indent is so simple... why not....  the reasons I do this it&#039;s easy, screen readers / search engines still see it and you are less likely to get black listed if someone suspects you are trying to hide content / keyword stuff.  I have heard rumors that opacity:0/visibility:none/display:none are not accessible by either screen readers or spiders.  the overlay just takes to much effort text-indent wins hands down and it&#039;s not hacky at all it&#039;s accessible.</description>
		<content:encoded><![CDATA[<p>Agree with David&#8230; text-indent is so simple&#8230; why not&#8230;.  the reasons I do this it's easy, screen readers / search engines still see it and you are less likely to get black listed if someone suspects you are trying to hide content / keyword stuff.  I have heard rumors that opacity:0/visibility:none/display:none are not accessible by either screen readers or spiders.  the overlay just takes to much effort text-indent wins hands down and it's not hacky at all it's accessible.</p>
]]></content:encoded>
	</item>
	<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 "visibility:hidden". 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;&#032;&#105;&#100;&#061;&quot;&#066;&#097;&#110;&#110;&#101;&#114;&quot;&gt;&#032;&#032;&#032;&#032;&lt;&#104;&#049;&gt;&#073;&#110;&#110;&#111;&#118;&#097;&#116;&#105;&#118;&#101;&#032;&#087;&#101;&#098;&#032;&#068;&#101;&#115;&#105;&#103;&#110;&lt;&#047;&#104;&#049;&gt;&#032;&#032;&#032;&#032;&lt;&#113;&gt;&#084;&#104;&#101;&#032;&#103;&#114;&#101;&#097;&#116;&#101;&#115;&#116;&#032;&#105;&#110;&#110;&#111;&#118;&#097;&#116;&#105;&#111;&#110;&#032;&#105;&#115;&#032;&#115;&#105;&#109;&#112;&#108;&#105;&#099;&#105;&#116;&#121;&#033;&lt;&#047;&#113;&gt;&#032;&#032;&#032;&#032;&lt;&#100;&#105;&#118;&#032;&#099;&#108;&#097;&#115;&#115;&#061;&quot;&#079;&#118;&#101;&#114;&#108;&#097;&#121;&quot;&gt;&#032;&#032;&#032;&#032;&lt;&#047;&#100;&#105;&#118;&gt;&lt;&#047;&#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>
</channel>
</rss>

