<?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 Trick: Turning a background image into a clickable link</title>
	<atom:link href="http://bluedogwebservices.com/css-trick-turning-a-background-image-into-a-clickable-link/feed/" rel="self" type="application/rss+xml" />
	<link>http://bluedogwebservices.com/css-trick-turning-a-background-image-into-a-clickable-link/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=css-trick-turning-a-background-image-into-a-clickable-link</link>
	<description>BlueDog Web Services</description>
	<lastBuildDate>Thu, 26 Jan 2012 21:06:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Aaron D. Campbell</title>
		<link>http://bluedogwebservices.com/css-trick-turning-a-background-image-into-a-clickable-link/#comment-8399</link>
		<dc:creator>Aaron D. Campbell</dc:creator>
		<pubDate>Thu, 26 Jan 2012 21:06:46 +0000</pubDate>
		<guid isPermaLink="false">http://bluedogwebservices.com/?p=733#comment-8399</guid>
		<description>Thanks for noticing that!  It seems that when I moved domains that image got lost in the shuffle.  It&#039;s been restored and should look correct now.</description>
		<content:encoded><![CDATA[<p>Thanks for noticing that!  It seems that when I moved domains that image got lost in the shuffle.  It&#8217;s been restored and should look correct now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://bluedogwebservices.com/css-trick-turning-a-background-image-into-a-clickable-link/#comment-8358</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 26 Jan 2012 13:31:19 +0000</pubDate>
		<guid isPermaLink="false">http://bluedogwebservices.com/?p=733#comment-8358</guid>
		<description>All these comments are very confusing.  Where&#039;s the image?  Isn&#039;t there supposed to be an image to click on?  I mouse over the blank space &quot;make a clickable background image like this:&quot; and there&#039;s nothing.  I mouse over &quot;And the finished product looks like this:&quot; and there&#039;s nothing -- although the cursor does change to the pointer, but there is no image.  I&#039;ve looked at chrome, ff and ie.  where is the image???</description>
		<content:encoded><![CDATA[<p>All these comments are very confusing.  Where&#8217;s the image?  Isn&#8217;t there supposed to be an image to click on?  I mouse over the blank space &#8220;make a clickable background image like this:&#8221; and there&#8217;s nothing.  I mouse over &#8220;And the finished product looks like this:&#8221; and there&#8217;s nothing &#8212; although the cursor does change to the pointer, but there is no image.  I&#8217;ve looked at chrome, ff and ie.  where is the image???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blackwell</title>
		<link>http://bluedogwebservices.com/css-trick-turning-a-background-image-into-a-clickable-link/#comment-6286</link>
		<dc:creator>Blackwell</dc:creator>
		<pubDate>Fri, 13 Jan 2012 21:19:56 +0000</pubDate>
		<guid isPermaLink="false">http://bluedogwebservices.com/?p=733#comment-6286</guid>
		<description>Nice little trick Aaron; thanks! I&#039;ve used it on a couple of my sites.
A couple notes for people concerned with the dotted lines - try adding overflow:hidden to your css. That seems to take care of the problem in Firefox.
Also, if you&#039;re concerned with the negative indent and the impact it might have on Google searches, you could try giving the text a high line-height (line-height:400px) instead of the negative indent; and don&#039;t forget to also include the overflow:hidden. A quick test of this seems to work in FF, IE9 and Chrome. And I&#039;m only assuming that this gets around the Google SEO issue, but it could be worth a try.</description>
		<content:encoded><![CDATA[<p>Nice little trick Aaron; thanks! I&#8217;ve used it on a couple of my sites.<br />
A couple notes for people concerned with the dotted lines &#8211; try adding overflow:hidden to your css. That seems to take care of the problem in Firefox.<br />
Also, if you&#8217;re concerned with the negative indent and the impact it might have on Google searches, you could try giving the text a high line-height (line-height:400px) instead of the negative indent; and don&#8217;t forget to also include the overflow:hidden. A quick test of this seems to work in FF, IE9 and Chrome. And I&#8217;m only assuming that this gets around the Google SEO issue, but it could be worth a try.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://bluedogwebservices.com/css-trick-turning-a-background-image-into-a-clickable-link/#comment-820</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Fri, 23 Dec 2011 10:43:55 +0000</pubDate>
		<guid isPermaLink="false">http://bluedogwebservices.com/?p=733#comment-820</guid>
		<description>I dig this site a lot hah.</description>
		<content:encoded><![CDATA[<p>I dig this site a lot hah.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gamer</title>
		<link>http://bluedogwebservices.com/css-trick-turning-a-background-image-into-a-clickable-link/#comment-663</link>
		<dc:creator>Gamer</dc:creator>
		<pubDate>Sun, 25 Sep 2011 01:36:40 +0000</pubDate>
		<guid isPermaLink="false">http://bluedogwebservices.com/?p=733#comment-663</guid>
		<description>thank you for this great advice!! it works just like you said!! i sued it on my profile pge on one of my sites and it links to the other site! i like it!! i had an image before that but with no link!! but this is just what i ws looking for!! i am going to have to sign up on here just because of that! thank again!</description>
		<content:encoded><![CDATA[<p>thank you for this great advice!! it works just like you said!! i sued it on my profile pge on one of my sites and it links to the other site! i like it!! i had an image before that but with no link!! but this is just what i ws looking for!! i am going to have to sign up on here just because of that! thank again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarah</title>
		<link>http://bluedogwebservices.com/css-trick-turning-a-background-image-into-a-clickable-link/#comment-662</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Wed, 21 Sep 2011 10:57:58 +0000</pubDate>
		<guid isPermaLink="false">http://bluedogwebservices.com/?p=733#comment-662</guid>
		<description>Hey Aaron...

Thanks for your solution.

I want text to be overlayed and I&#039;ve wrapped the whole A tag around the divs... 
I&#039;ve got what I want although now there are lines appearing under the text in firefox and safari..

Have I done a dodgy trick??
What do you reckon..?

http://suehuxleytabitha.businesscatalyst.com
(The purple box that says Sue Huxley Sandang School)</description>
		<content:encoded><![CDATA[<p>Hey Aaron&#8230;</p>
<p>Thanks for your solution.</p>
<p>I want text to be overlayed and I&#8217;ve wrapped the whole A tag around the divs&#8230;<br />
I&#8217;ve got what I want although now there are lines appearing under the text in firefox and safari..</p>
<p>Have I done a dodgy trick??<br />
What do you reckon..?</p>
<p><a href="http://suehuxleytabitha.businesscatalyst.com" rel="nofollow">http://suehuxleytabitha.businesscatalyst.com</a><br />
(The purple box that says Sue Huxley Sandang School)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://bluedogwebservices.com/css-trick-turning-a-background-image-into-a-clickable-link/#comment-661</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Mon, 19 Sep 2011 06:13:30 +0000</pubDate>
		<guid isPermaLink="false">http://bluedogwebservices.com/?p=733#comment-661</guid>
		<description>Is your code filter working properly?

Maybe I&#039;m doing something wrong....</description>
		<content:encoded><![CDATA[<p>Is your code filter working properly?</p>
<p>Maybe I&#8217;m doing something wrong&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://bluedogwebservices.com/css-trick-turning-a-background-image-into-a-clickable-link/#comment-660</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Mon, 19 Sep 2011 06:11:33 +0000</pubDate>
		<guid isPermaLink="false">http://bluedogwebservices.com/?p=733#comment-660</guid>
		<description>Oops, I forgot the code tags.

Thank you for pointing me in the right direction :)  I didn&#039;t like the dotted outline that ran off of the page because of the indent.  So here is my revised version of what your trick.

Perhaps there is some downfall to my method, but I could not find one.  If someone finds any issues with this, please reply to my comment so I will be updated.  Thank you.

Here&#039;s what I did...

I implemented this as a class in the link:

&lt;code&gt;&lt;a href=&quot;http://somesite.com&quot; rel=&quot;nofollow&quot;&gt;http://somesite.com&lt;/a&gt;&lt;/code&gt;

Place the above where you wish insert the logo or even any image, really.

I used style=&quot;color:transparent;&quot; (Otherwise the link will show.)

&lt;code&gt;.example {
  background: url(http://somesite.com/logopath/logo.jpg)no-repeat;
  text-align: center;
  display: block;
  width: px;
  height: px;
  outline: none;
}&lt;/code&gt;

I used text-align: center; (in case you would prefer to show the link over the image.  This is useful for me as I do use it that way sometimes.  I just remove the inline color:transparent; in that case.)

width and height needs to match the exact dimensions (in px) of the image you are using.

outline: none; is to remove the dotted line that surrounds links when you click on them.

Further note:

You do not need to specify any text &lt;code&gt;&lt;a href=&quot;&quot; rel=&quot;nofollow&quot;&gt;HERE&lt;/a&gt;&lt;/code&gt; for this to work.  In this case, you won&#039;t need to use color:transparent; in the &lt;a&gt;

I guess by not using text or a link in between, search engines might not index it?  I don&#039;t really know.

I hope this helps someone.</description>
		<content:encoded><![CDATA[<p>Oops, I forgot the code tags.</p>
<p>Thank you for pointing me in the right direction :)  I didn&#8217;t like the dotted outline that ran off of the page because of the indent.  So here is my revised version of what your trick.</p>
<p>Perhaps there is some downfall to my method, but I could not find one.  If someone finds any issues with this, please reply to my comment so I will be updated.  Thank you.</p>
<p>Here&#8217;s what I did&#8230;</p>
<p>I implemented this as a class in the link:</p>
<p><code><a href="http://somesite.com" rel="nofollow">http://somesite.com</a></code></p>
<p>Place the above where you wish insert the logo or even any image, really.</p>
<p>I used style=&#8221;color:transparent;&#8221; (Otherwise the link will show.)</p>
<p><code>.example {<br />
  background: url(http://somesite.com/logopath/logo.jpg)no-repeat;<br />
  text-align: center;<br />
  display: block;<br />
  width: px;<br />
  height: px;<br />
  outline: none;<br />
}</code></p>
<p>I used text-align: center; (in case you would prefer to show the link over the image.  This is useful for me as I do use it that way sometimes.  I just remove the inline color:transparent; in that case.)</p>
<p>width and height needs to match the exact dimensions (in px) of the image you are using.</p>
<p>outline: none; is to remove the dotted line that surrounds links when you click on them.</p>
<p>Further note:</p>
<p>You do not need to specify any text <code><a href="" rel="nofollow">HERE</a></code> for this to work.  In this case, you won&#8217;t need to use color:transparent; in the <a></p>
<p>I guess by not using text or a link in between, search engines might not index it?  I don&#8217;t really know.</p>
<p>I hope this helps someone.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://bluedogwebservices.com/css-trick-turning-a-background-image-into-a-clickable-link/#comment-659</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Mon, 19 Sep 2011 06:04:03 +0000</pubDate>
		<guid isPermaLink="false">http://bluedogwebservices.com/?p=733#comment-659</guid>
		<description>Thank you for pointing me in the right direction :)  I didn&#039;t like the dotted outline that ran off of the page because of the indent.  So here is my revised version of what your trick.

Perhaps there is some downfall to my method, but I could not find one.  If someone finds any issues with this, please reply to my comment so I will be updated.  Thank you.

Here&#039;s what I did...

I implemented this as a class in the link:

&lt;a href=&quot;http://somesite.com&quot; rel=&quot;nofollow&quot;&gt;http://somesite.com&lt;/a&gt;

Place the above where you wish insert the logo or even any image, really.

I used style=&quot;color:transparent;&quot; (Otherwise the link will show.)

.example {
  background: url(http://somesite.com/logopath/logo.jpg)no-repeat;
  text-align: center;
  display: block;
  width: px;
  height: px;
  outline: none;
}

I used text-align: center; (in case you would prefer to show the link over the image.  This is useful for me as I do use it that way sometimes.  I just remove the inline color:transparent; in that case.)

width and height needs to match the exact dimensions (in px) of the image you are using.

outline: none; is to remove the dotted line that surrounds links when you click on them.

Further note:

You do not need to specify any text &lt;a href=&quot;&quot; rel=&quot;nofollow&quot;&gt;HERE&lt;/a&gt; for this to work.  In this case, you won&#039;t need to use color:transparent; in the &lt;a&gt;

I guess by not using text or a link in between, search engines might not index it?  I don&#039;t really know.

I hope this helps someone.</description>
		<content:encoded><![CDATA[<p>Thank you for pointing me in the right direction :)  I didn&#8217;t like the dotted outline that ran off of the page because of the indent.  So here is my revised version of what your trick.</p>
<p>Perhaps there is some downfall to my method, but I could not find one.  If someone finds any issues with this, please reply to my comment so I will be updated.  Thank you.</p>
<p>Here&#8217;s what I did&#8230;</p>
<p>I implemented this as a class in the link:</p>
<p><a href="http://somesite.com" rel="nofollow">http://somesite.com</a></p>
<p>Place the above where you wish insert the logo or even any image, really.</p>
<p>I used style=&#8221;color:transparent;&#8221; (Otherwise the link will show.)</p>
<p>.example {<br />
  background: url(http://somesite.com/logopath/logo.jpg)no-repeat;<br />
  text-align: center;<br />
  display: block;<br />
  width: px;<br />
  height: px;<br />
  outline: none;<br />
}</p>
<p>I used text-align: center; (in case you would prefer to show the link over the image.  This is useful for me as I do use it that way sometimes.  I just remove the inline color:transparent; in that case.)</p>
<p>width and height needs to match the exact dimensions (in px) of the image you are using.</p>
<p>outline: none; is to remove the dotted line that surrounds links when you click on them.</p>
<p>Further note:</p>
<p>You do not need to specify any text <a href="" rel="nofollow">HERE</a> for this to work.  In this case, you won&#8217;t need to use color:transparent; in the <a></p>
<p>I guess by not using text or a link in between, search engines might not index it?  I don&#8217;t really know.</p>
<p>I hope this helps someone.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paco Wilson</title>
		<link>http://bluedogwebservices.com/css-trick-turning-a-background-image-into-a-clickable-link/#comment-658</link>
		<dc:creator>Paco Wilson</dc:creator>
		<pubDate>Mon, 12 Sep 2011 01:29:09 +0000</pubDate>
		<guid isPermaLink="false">http://bluedogwebservices.com/?p=733#comment-658</guid>
		<description>I&#039;m using this tricks for our header of logo.  The logo is hidden beneath of the blank image.</description>
		<content:encoded><![CDATA[<p>I&#8217;m using this tricks for our header of logo.  The logo is hidden beneath of the blank image.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

