<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: CSS: Automatically Marked and Accessible External Links</title>
	<link>http://the16art.com/2007/12/18/css-automatically-marked-and-accessible-external-links/</link>
	<description>LAYER CAKE :: Life, web design, web development, internet marketing and more...</description>
	<pubDate>Thu, 28 Aug 2008 06:10:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: Tino</title>
		<link>http://the16art.com/2007/12/18/css-automatically-marked-and-accessible-external-links/#comment-3833</link>
		<dc:creator>Tino</dc:creator>
		<pubDate>Tue, 03 Jun 2008 12:04:56 +0000</pubDate>
		<guid>http://the16art.com/2007/12/18/css-automatically-marked-and-accessible-external-links/#comment-3833</guid>
		<description>That's great nicolas. Thanks for sharing! :-)</description>
		<content:encoded><![CDATA[<p>That&#8217;s great nicolas. Thanks for sharing! <img src='http://the16art.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nicolas</title>
		<link>http://the16art.com/2007/12/18/css-automatically-marked-and-accessible-external-links/#comment-3829</link>
		<dc:creator>nicolas</dc:creator>
		<pubDate>Mon, 26 May 2008 06:32:11 +0000</pubDate>
		<guid>http://the16art.com/2007/12/18/css-automatically-marked-and-accessible-external-links/#comment-3829</guid>
		<description>Found a workaround for ie

Do two separate selectors like this

a[href^="http://"]{ 
background: url(images/external_link.png) no-repeat 100% 3px; 
padding: 0 12px 0 0; 
}

a[href*="yourdomain.com"]{ 
background: url(); 
}

The second selector will overide the first one if it is within your domain and won't show the image. It works in ie for me.</description>
		<content:encoded><![CDATA[<p>Found a workaround for ie</p>
<p>Do two separate selectors like this</p>
<p>a[href^=&#8221;http://&#8221;]{<br />
background: url(images/external_link.png) no-repeat 100% 3px;<br />
padding: 0 12px 0 0;<br />
}</p>
<p>a[href*=&#8221;yourdomain.com&#8221;]{<br />
background: url();<br />
}</p>
<p>The second selector will overide the first one if it is within your domain and won&#8217;t show the image. It works in ie for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tino</title>
		<link>http://the16art.com/2007/12/18/css-automatically-marked-and-accessible-external-links/#comment-3827</link>
		<dc:creator>Tino</dc:creator>
		<pubDate>Wed, 30 Apr 2008 16:30:13 +0000</pubDate>
		<guid>http://the16art.com/2007/12/18/css-automatically-marked-and-accessible-external-links/#comment-3827</guid>
		<description>Patrick,

The best way I think that would be to enclose the images in a div or span and then set the property background to none. Something along the lines of the example below.

&lt;pre class="chili-all chili-all-html"&gt;
&lt;code class="html"&gt;
&#60;span class=&#34;img_no_bg&#34;&#62;&#60;a href=&#34;#&#34;&#62;&#60;img src=&#34;image.png&#34; alt=&#34;image&#34; /&#62;&#60;/a&#62;&#60;/span&#62;
&lt;/code&gt;
&lt;/pre&gt;

&lt;pre class="chili-all chili-all-css"&gt;
&lt;code class="css"&gt;
span.img_no_bg a {
background:none
}
&lt;/code&gt;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Patrick,</p>
<p>The best way I think that would be to enclose the images in a div or span and then set the property background to none. Something along the lines of the example below.</p>
<pre class="chili-all chili-all-html">
<code class="html">
&lt;span class=&quot;img_no_bg&quot;&gt;&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;image.png&quot; alt=&quot;image&quot; /&gt;&lt;/a&gt;&lt;/span&gt;
</code>
</pre>
<pre class="chili-all chili-all-css">
<code class="css">
span.img_no_bg a {
background:none
}
</code>
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://the16art.com/2007/12/18/css-automatically-marked-and-accessible-external-links/#comment-3826</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Wed, 30 Apr 2008 15:54:01 +0000</pubDate>
		<guid>http://the16art.com/2007/12/18/css-automatically-marked-and-accessible-external-links/#comment-3826</guid>
		<description>This is a great tip, thanks you.  My question is: how to deal with images that have links to external sites.  It looks a little strange to have an image with a little icon beside it.

Is there a way to handle this with CSS?  I haven't been able to come up with a solution.</description>
		<content:encoded><![CDATA[<p>This is a great tip, thanks you.  My question is: how to deal with images that have links to external sites.  It looks a little strange to have an image with a little icon beside it.</p>
<p>Is there a way to handle this with CSS?  I haven&#8217;t been able to come up with a solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tino</title>
		<link>http://the16art.com/2007/12/18/css-automatically-marked-and-accessible-external-links/#comment-3799</link>
		<dc:creator>Tino</dc:creator>
		<pubDate>Thu, 28 Feb 2008 14:27:28 +0000</pubDate>
		<guid>http://the16art.com/2007/12/18/css-automatically-marked-and-accessible-external-links/#comment-3799</guid>
		<description>Yes feel free to use the code or images in your site. Cheers</description>
		<content:encoded><![CDATA[<p>Yes feel free to use the code or images in your site. Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://the16art.com/2007/12/18/css-automatically-marked-and-accessible-external-links/#comment-3798</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Thu, 28 Feb 2008 14:24:29 +0000</pubDate>
		<guid>http://the16art.com/2007/12/18/css-automatically-marked-and-accessible-external-links/#comment-3798</guid>
		<description>Hi I like the external image link would it be possible if I could use the image for my links.</description>
		<content:encoded><![CDATA[<p>Hi I like the external image link would it be possible if I could use the image for my links.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tino</title>
		<link>http://the16art.com/2007/12/18/css-automatically-marked-and-accessible-external-links/#comment-3791</link>
		<dc:creator>Tino</dc:creator>
		<pubDate>Thu, 10 Jan 2008 17:16:15 +0000</pubDate>
		<guid>http://the16art.com/2007/12/18/css-automatically-marked-and-accessible-external-links/#comment-3791</guid>
		<description>I have used the Chili + Enzymes Wordpress plugin which highlights the code, you can find it here, it's fully documented:

http://noteslog.com/post/chili-enzymes/

And then I've styled it with CSS to make it look a bit better. You can do something like:

&lt;pre class="chili-all chili-all-css"&gt;
&lt;code class="css"&gt;
pre.chili-all {
background-color: grey;
border:4px solid black;
}
&lt;/code&gt;
&lt;/pre&gt;

In this case this would add a 4px black border and a grey background to create the box.

And to make it even better you can add a different background colour on mouse hover (not supported on IE because it's a pseudo-class, IE simply ignores this rule):

&lt;pre class="chili-all chili-all-css"&gt;
&lt;code class="css"&gt;
pre.chili-all:hover {
background: darkgrey;
}
&lt;/code&gt;
&lt;/pre&gt;

I hope this helps! :)</description>
		<content:encoded><![CDATA[<p>I have used the Chili + Enzymes Wordpress plugin which highlights the code, you can find it here, it&#8217;s fully documented:</p>
<p><a href="http://noteslog.com/post/chili-enzymes/" >http://noteslog.com/post/chili-enzymes/</a></p>
<p>And then I&#8217;ve styled it with CSS to make it look a bit better. You can do something like:</p>
<pre class="chili-all chili-all-css">
<code class="css">
pre.chili-all {
background-color: grey;
border:4px solid black;
}
</code>
</pre>
<p>In this case this would add a 4px black border and a grey background to create the box.</p>
<p>And to make it even better you can add a different background colour on mouse hover (not supported on IE because it&#8217;s a pseudo-class, IE simply ignores this rule):</p>
<pre class="chili-all chili-all-css">
<code class="css">
pre.chili-all:hover {
background: darkgrey;
}
</code>
</pre>
<p>I hope this helps! <img src='http://the16art.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MInTheGap</title>
		<link>http://the16art.com/2007/12/18/css-automatically-marked-and-accessible-external-links/#comment-3790</link>
		<dc:creator>MInTheGap</dc:creator>
		<pubDate>Thu, 10 Jan 2008 16:51:47 +0000</pubDate>
		<guid>http://the16art.com/2007/12/18/css-automatically-marked-and-accessible-external-links/#comment-3790</guid>
		<description>Great tutorial!  I'm going to try it out on my site...

What plugin are you using to show your code in those boxes?

&lt;em&gt;MInTheGap's last blog post..&lt;a href='http://www.minthegap.com/2008/01/09/upgrade-your-blog/'&gt;Upgrade Your Blog&lt;/a&gt;&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>Great tutorial!  I&#8217;m going to try it out on my site&#8230;</p>
<p>What plugin are you using to show your code in those boxes?</p>
<p><em>MInTheGap&#8217;s last blog post..<a href='http://www.minthegap.com/2008/01/09/upgrade-your-blog/'>Upgrade Your Blog</a></em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tino</title>
		<link>http://the16art.com/2007/12/18/css-automatically-marked-and-accessible-external-links/#comment-3785</link>
		<dc:creator>Tino</dc:creator>
		<pubDate>Thu, 20 Dec 2007 09:09:47 +0000</pubDate>
		<guid>http://the16art.com/2007/12/18/css-automatically-marked-and-accessible-external-links/#comment-3785</guid>
		<description>I have noticed that you use rel="external" on your site. I hope that this CSS rule makes it easier for you!</description>
		<content:encoded><![CDATA[<p>I have noticed that you use rel=&#8221;external&#8221; on your site. I hope that this CSS rule makes it easier for you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Web design Manchester</title>
		<link>http://the16art.com/2007/12/18/css-automatically-marked-and-accessible-external-links/#comment-3784</link>
		<dc:creator>Web design Manchester</dc:creator>
		<pubDate>Wed, 19 Dec 2007 23:53:40 +0000</pubDate>
		<guid>http://the16art.com/2007/12/18/css-automatically-marked-and-accessible-external-links/#comment-3784</guid>
		<description>Thanks for that - great info - i am going to use some of those techniques on a few sites i am doing now</description>
		<content:encoded><![CDATA[<p>Thanks for that - great info - i am going to use some of those techniques on a few sites i am doing now</p>
]]></content:encoded>
	</item>
</channel>
</rss>
