<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tutorials, scripts, templates and tips &#187; CSS</title>
	<atom:link href="http://www.bloggpro.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bloggpro.com</link>
	<description>Excel, Wordpress, MS Office tips, CSS, PHP, MySQL scripting and web publishing</description>
	<lastBuildDate>Sun, 21 Aug 2011 05:45:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Smart CSS trick to add icon to all outgoing links</title>
		<link>http://www.bloggpro.com/smart-css-trick-to-add-icon-to-all-outgoing-links/</link>
		<comments>http://www.bloggpro.com/smart-css-trick-to-add-icon-to-all-outgoing-links/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 07:30:28 +0000</pubDate>
		<dc:creator>Jesper</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.bloggpro.com/smart-css-trick-to-add-icon-to-all-outgoing-links/</guid>
		<description><![CDATA[Use this piece of CSS to add an icon to all links that is not to mydomain a:not([href*="mydomain"]) {  padding-right: 10px;  background: transparent url("images/aoutside.gif") center right no-repeat; } Alternatively, you can use this one to mark all links that start &#8230; <a href="http://www.bloggpro.com/smart-css-trick-to-add-icon-to-all-outgoing-links/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Use this piece of CSS to add an icon to all links that is not to <em>mydomain</em></p>
<pre><span class="ident">a</span><span class="symbol">:not</span><span class="punct">([</span><span class="ident">href</span><span class="punct">*="</span><span class="string">mydomain</span><span class="punct">"])</span> <span class="punct">{</span>

 <span class="ident">padding</span><span class="punct">-</span><span class="ident">right</span><span class="punct">:</span> <span class="number">10</span><span class="ident">px</span><span class="punct">;</span>

 <span class="ident">background</span><span class="punct">:</span> <span class="ident">transparent</span> <span class="ident">url</span><span class="punct">("</span><span class="string">images/aoutside.gif</span><span class="punct">")</span> <span class="ident">center</span> <span class="ident">right</span> <span class="ident">no</span><span class="punct">-</span><span class="ident">repeat</span><span class="punct">;</span>

<span id="more-267"></span>

<span class="punct">}</span></pre>
<p>Alternatively, you can use this one to mark all links that start with &#8216;<em>http://</em>&#8216;</p>
<pre><span class="ident">a</span><span class="punct">[</span><span class="ident">href^</span><span class="punct">="</span><span class="string">http</span><span class="punct">"]</span> <span class="punct">{</span>

<span class="ident">padding</span><span class="punct">-</span><span class="ident">right</span><span class="punct">:</span> <span class="number">10</span><span class="ident">px</span><span class="punct">;</span>

<span class="ident">background</span><span class="punct">-</span><span class="ident">image</span><span class="punct">:</span> <span class="ident">url</span><span class="punct">(</span><span class="ident">external</span><span class="punct">.</span><span class="ident">gif</span><span class="punct">);</span>

<span class="ident">background</span><span class="punct">-</span><span class="ident">position</span><span class="punct">:</span> <span class="ident">right</span> <span class="punct">!</span><span class="ident">important</span><span class="punct">;</span>

<span class="ident">background</span><span class="punct">-</span><span class="ident">repeat</span><span class="punct">:</span> <span class="ident">no</span><span class="punct">-</span><span class="ident">repeat</span><span class="punct">;</span>

<span class="punct">}</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.bloggpro.com/smart-css-trick-to-add-icon-to-all-outgoing-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Really simple rounded corners with CSS</title>
		<link>http://www.bloggpro.com/really-simple-rounded-corners-with-css/</link>
		<comments>http://www.bloggpro.com/really-simple-rounded-corners-with-css/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 10:04:55 +0000</pubDate>
		<dc:creator>Jesper</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.bloggpro.com/really-simple-roundes-corners-with-css/</guid>
		<description><![CDATA[I&#8217;ve been looking for a long time for a solution to produce the oh so popular rounded corners on my DIV elements and finally I found what I was looking for over at A list apart where Dan Cederholm describes his take &#8230; <a href="http://www.bloggpro.com/really-simple-rounded-corners-with-css/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been looking for a long time for a solution to produce the oh so popular rounded corners on my DIV elements and finally I found what I was looking for over at <a href="http://www.alistapart.com/articles/mountaintop/">A list apart</a> where Dan Cederholm describes his take on the issue of rounded corners. The solution he presents are decievingly simple in it&#8217;s approach, and surprisingly flexible in its application.</p>
<p>The design uses two transparent gif masks (easily created in for example GIMP) and  a short, organized CSS:</p>
<p><code>dl {<br />
width: 240px;<br />
margin: 0 0 20px 20px;<br />
background: #999 url(box_bottom.gif) »<br />
no-repeat bottom left;<br />
}</code><code> </code><code>dt {<br />
margin: 0;<br />
padding: 10px;<br />
background: #999 url(box_top.gif) »<br />
no-repeat top left;<br />
}</code></p>
<p><span id="more-224"></span></p>
<p>dd {<br />
margin: 0;<br />
padding: 10px;<br />
}<br />
I&#8217;ve just tested this but will toy around with it to see how much can be squeezed out of the technique (I think quite a lot).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bloggpro.com/really-simple-rounded-corners-with-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

