<?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 Image Replacement</title>
	<atom:link href="http://www.dave-woods.co.uk/index.php/css-image-replacement/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dave-woods.co.uk/index.php/css-image-replacement/</link>
	<description></description>
	<lastBuildDate>Mon, 15 Mar 2010 16:49:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dave</title>
		<link>http://www.dave-woods.co.uk/index.php/css-image-replacement/comment-page-1/#comment-24459</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 03 Aug 2009 14:47:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=124#comment-24459</guid>
		<description>Hi Halil,

Googe doesn&#039;t like hidden text when it is being used to trick the search engines. When you&#039;re using it to replace text with an image that represents the same content then that is absolutely fine.

The thing to think about is how will users who view your web page with images and css switched off view your page? If the same functionality and content is still available (albeit without the design elements) then you can assume that Google will be fine with your page.

Hope that helps.</description>
		<content:encoded><![CDATA[<p>Hi Halil,</p>
<p>Googe doesn&#8217;t like hidden text when it is being used to trick the search engines. When you&#8217;re using it to replace text with an image that represents the same content then that is absolutely fine.</p>
<p>The thing to think about is how will users who view your web page with images and css switched off view your page? If the same functionality and content is still available (albeit without the design elements) then you can assume that Google will be fine with your page.</p>
<p>Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Halil Özgür</title>
		<link>http://www.dave-woods.co.uk/index.php/css-image-replacement/comment-page-1/#comment-20697</link>
		<dc:creator>Halil Özgür</dc:creator>
		<pubDate>Sat, 14 Mar 2009 10:32:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=124#comment-20697</guid>
		<description>Dave, this will be a quite late comment.
Google says that it does not like hidden text and links:

http://www.google.com/support/webmasters/bin/answer.py?answer=66353

But in our case, it seems essential to use a technique like ones explained here in order to be accessible for search engines, the disabled and others.

I wonder how Google (and others) handle this situation?</description>
		<content:encoded><![CDATA[<p>Dave, this will be a quite late comment.<br />
Google says that it does not like hidden text and links:</p>
<p><a href="http://www.google.com/support/webmasters/bin/answer.py?answer=66353" rel="nofollow">http://www.google.com/support/webmasters/bin/answer.py?answer=66353</a></p>
<p>But in our case, it seems essential to use a technique like ones explained here in order to be accessible for search engines, the disabled and others.</p>
<p>I wonder how Google (and others) handle this situation?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Woods - Freelance Web Designer UK &#187; 10 CSS Tips Every Web Developer Should Know</title>
		<link>http://www.dave-woods.co.uk/index.php/css-image-replacement/comment-page-1/#comment-20225</link>
		<dc:creator>Dave Woods - Freelance Web Designer UK &#187; 10 CSS Tips Every Web Developer Should Know</dc:creator>
		<pubDate>Wed, 04 Mar 2009 20:42:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=124#comment-20225</guid>
		<description>[...] CSS Image Replacement [...]</description>
		<content:encoded><![CDATA[<p>[...] CSS Image Replacement [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed</title>
		<link>http://www.dave-woods.co.uk/index.php/css-image-replacement/comment-page-1/#comment-16528</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Thu, 04 Dec 2008 14:08:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=124#comment-16528</guid>
		<description>Why do you need the background image on both the h1 and the span?

How about using this method for some nav, where does the anchor fit in?

I almost got it working but the span is sitting in front of the anchor so the hover only works (or is visible) when you turn off the span bg image?  Should the span not be behind?</description>
		<content:encoded><![CDATA[<p>Why do you need the background image on both the h1 and the span?</p>
<p>How about using this method for some nav, where does the anchor fit in?</p>
<p>I almost got it working but the span is sitting in front of the anchor so the hover only works (or is visible) when you turn off the span bg image?  Should the span not be behind?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://www.dave-woods.co.uk/index.php/css-image-replacement/comment-page-1/#comment-2319</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Tue, 08 Apr 2008 12:41:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=124#comment-2319</guid>
		<description>thanks again Dave! :)</description>
		<content:encoded><![CDATA[<p>thanks again Dave! <img src='http://www.dave-woods.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.dave-woods.co.uk/index.php/css-image-replacement/comment-page-1/#comment-2308</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 07 Apr 2008 15:20:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=124#comment-2308</guid>
		<description>Oops sorry. The span should be inside the h1 tag, sorry about that.

{div id=&quot;header&quot;}{h1}{span}{/span}{acronym title=&quot;Hello Dave&quot;}HD{/acronym} - Please Help!{/h1}{/div}

As for the #header style. It depends what you want to do with it. If it&#039;s not doing anything then you could get rid of it and I&#039;d also get rid of the div itself if you can style everything through just the h1 tag.

I only introduce div&#039;s to wrap around content if they&#039;re required to achieve the layout so if it isn&#039;t actually doing anything then I&#039;d remove it and just style the h1 directly as you should only have a single h1 per page anyway.</description>
		<content:encoded><![CDATA[<p>Oops sorry. The span should be inside the h1 tag, sorry about that.</p>
<p>{div id=&#8221;header&#8221;}{h1}{span}{/span}{acronym title=&#8221;Hello Dave&#8221;}HD{/acronym} &#8211; Please Help!{/h1}{/div}</p>
<p>As for the #header style. It depends what you want to do with it. If it&#8217;s not doing anything then you could get rid of it and I&#8217;d also get rid of the div itself if you can style everything through just the h1 tag.</p>
<p>I only introduce div&#8217;s to wrap around content if they&#8217;re required to achieve the layout so if it isn&#8217;t actually doing anything then I&#8217;d remove it and just style the h1 directly as you should only have a single h1 per page anyway.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://www.dave-woods.co.uk/index.php/css-image-replacement/comment-page-1/#comment-2307</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Mon, 07 Apr 2008 14:07:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=124#comment-2307</guid>
		<description>thanks, Dave!

i think it&#039;s starting to come together, although the h1 text still shows up over the pic when i change the h1 color to gray (since my container&#039;s background color is black). 

one question i have is: in the new css you gave me, there&#039;s no css for #header alone. do i keep what i have for #header{} or just remove it?

anyway, i don&#039;t mean to turn your kick-ass blog into the &quot;help Jonathan&quot; show (unless you think this could help others)</description>
		<content:encoded><![CDATA[<p>thanks, Dave!</p>
<p>i think it&#8217;s starting to come together, although the h1 text still shows up over the pic when i change the h1 color to gray (since my container&#8217;s background color is black). </p>
<p>one question i have is: in the new css you gave me, there&#8217;s no css for #header alone. do i keep what i have for #header{} or just remove it?</p>
<p>anyway, i don&#8217;t mean to turn your kick-ass blog into the &#8220;help Jonathan&#8221; show (unless you think this could help others)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.dave-woods.co.uk/index.php/css-image-replacement/comment-page-1/#comment-2306</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 07 Apr 2008 12:43:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=124#comment-2306</guid>
		<description>Hi Jonathan,

You&#039;d need to use the following CSS

#header h1, #header h1 span {
width: 256px;
height: 41px;
background-image: url(image.gif);
font-size: 100%;
}
#header h1 span {
display: block;
position: relative;
z-index: 1;
margin-bottom: -41px;
}
#header h1 { overflow: hidden; }

And using your example of HTML you&#039;d also need to introduce an empty span

{div id=&quot;header&quot;}{span}{/span}{h1}{acronym title=&quot;Hello Dave&quot;}HD{/acronym} - Please Help!{/h1}{/div}

Hope that makes sense?</description>
		<content:encoded><![CDATA[<p>Hi Jonathan,</p>
<p>You&#8217;d need to use the following CSS</p>
<p>#header h1, #header h1 span {<br />
width: 256px;<br />
height: 41px;<br />
background-image: url(image.gif);<br />
font-size: 100%;<br />
}<br />
#header h1 span {<br />
display: block;<br />
position: relative;<br />
z-index: 1;<br />
margin-bottom: -41px;<br />
}<br />
#header h1 { overflow: hidden; }</p>
<p>And using your example of HTML you&#8217;d also need to introduce an empty span</p>
<p>{div id=&#8221;header&#8221;}{span}{/span}{h1}{acronym title=&#8221;Hello Dave&#8221;}HD{/acronym} &#8211; Please Help!{/h1}{/div}</p>
<p>Hope that makes sense?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://www.dave-woods.co.uk/index.php/css-image-replacement/comment-page-1/#comment-2305</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Mon, 07 Apr 2008 12:33:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=124#comment-2305</guid>
		<description>edit to the above: 

sorry, i tried to paste the html code, and it actually turned it into html lol...

using &quot;{}&quot; instead of &quot;&quot; the html looks like this

{div id=&quot;header&quot;}{h1}{acronym title=&quot;Hello Dave&quot;}HD{/acronym} - Please Help!{/h1}{/div}</description>
		<content:encoded><![CDATA[<p>edit to the above: </p>
<p>sorry, i tried to paste the html code, and it actually turned it into html lol&#8230;</p>
<p>using &#8220;{}&#8221; instead of &#8220;&#8221; the html looks like this</p>
<p>{div id=&#8221;header&#8221;}{h1}{acronym title=&#8221;Hello Dave&#8221;}HD{/acronym} &#8211; Please Help!{/h1}{/div}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://www.dave-woods.co.uk/index.php/css-image-replacement/comment-page-1/#comment-2304</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Mon, 07 Apr 2008 12:28:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/?p=124#comment-2304</guid>
		<description>hi Dave,

sorry for the newbie-ish question (i actually am a newbie so its fitting), but how would this change if the top banner and h1 are inside a &quot;#header&quot; div? would i put the  and background image inside the header but outside the h1? for some reason i&#039;m struggling to translate it.

right now i have something like this:

&lt;acronym title=&quot;Hello Dave&quot;&gt;HD&lt;/acronym&gt; - Please help!

div#header {
height:238px;
background-color:0;
border-style:dotted;
border-color:#000000;
border-width:0px 0px 3px 0px;
background-image:url(headerPic.png);
background-position: bottom;
background-repeat:no-repeat;
}
div#header h1 {
height:80px;
line-height:80px;
margin:0;
padding-left:10px;
color:black;}</description>
		<content:encoded><![CDATA[<p>hi Dave,</p>
<p>sorry for the newbie-ish question (i actually am a newbie so its fitting), but how would this change if the top banner and h1 are inside a &#8220;#header&#8221; div? would i put the  and background image inside the header but outside the h1? for some reason i&#8217;m struggling to translate it.</p>
<p>right now i have something like this:</p>
<p><acronym title="Hello Dave">HD</acronym> &#8211; Please help!</p>
<p>div#header {<br />
height:238px;<br />
background-color:0;<br />
border-style:dotted;<br />
border-color:#000000;<br />
border-width:0px 0px 3px 0px;<br />
background-image:url(headerPic.png);<br />
background-position: bottom;<br />
background-repeat:no-repeat;<br />
}<br />
div#header h1 {<br />
height:80px;<br />
line-height:80px;<br />
margin:0;<br />
padding-left:10px;<br />
color:black;}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
