<?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>israeljernigan.com &#187; border</title>
	<atom:link href="http://www.israeljernigan.com/tag/border/feed" rel="self" type="application/rss+xml" />
	<link>http://www.israeljernigan.com</link>
	<description>personal web blogger</description>
	<lastBuildDate>Sat, 17 Oct 2009 16:28:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cool CSS Matted Border Effect</title>
		<link>http://www.israeljernigan.com/cool-css-double-border-effect</link>
		<comments>http://www.israeljernigan.com/cool-css-double-border-effect#comments</comments>
		<pubDate>Thu, 04 Oct 2007 20:28:57 +0000</pubDate>
		<dc:creator>Israel Jernigan</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[border]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.israeljernigan.com/cool-css-double-border-effect</guid>
		<description><![CDATA[
So I thought I would share a simple trick that creates a really clean effect. It&#8217;s what I call a double border. I don&#8217;t like adding borders onto the actual images I put on websites, so I&#8217;ve experimented with using css to create the borders. What I&#8217;ve found is that css rocks at doing this!
Basically [...]]]></description>
			<content:encoded><![CDATA[<p class="left" style="border: 1px solid black; padding: 2px; background-color: #efefef; width: 75px; display: block; margin-right: 1.5em"><img src="http://israeljernigan.com/post-content/border/me.png" alt="Cool Border" height="100" width="75" /></p>
<p>So I thought I would share a simple trick that creates a really clean effect. It&#8217;s what I call a double border. I don&#8217;t like adding borders onto the actual images I put on websites, so I&#8217;ve experimented with using css to create the borders. What I&#8217;ve found is that css rocks at doing this!</p>
<p>Basically you put a <strong>&lt;div&gt;</strong> tag around the image you want to add a border to. And add css to the div, not the image. That way we can still control the image, but we have much more variation with what we can do with borders.</p>
<p>Here is what the<strong> &lt;div&gt;</strong> and <strong>&lt;img&gt;</strong> html would look like.<br />
<span id="more-11"></span></p>
<pre>
&lt;div class="border-cool-out"&gt;
&lt;img src="/post-content/border/me.png" alt="Cool Border" »»
height="100" width="75" /&gt;
&lt;/div&gt;</pre>
<p>And then the really simple css for the double border. basically all you need to do is give the class the width of the image, and however much border you want. Than add a background-color and padding. That will create the extra border to give it a double border effect.</p>
<pre>
&lt;style&gt;
.border-cool-out{
  border:1px solid black;
  background-color:#efefef;
  width:75px;
  padding:2px;
}
&lt;/style&gt;</pre>
<p>I hope you enjoyed this really easy, but cool way to create stylish and great looking borders. Here is another example.</p>
<p style="border: 1px solid #890001; padding: 5px; background-color: #efefef; width: 350px; display: block; height: 100px; font-size: 1em; color: #999999"> <img src="http://israeljernigan.com/post-content/border/me2.png" alt="Cool Border" style="float: left; margin-right: 1.5em" height="100" width="75" />I thought it might be cool to show an interesting example of how this could be used. Other than as a double border. Enjoy! <img src='http://www.israeljernigan.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.israeljernigan.com/cool-css-double-border-effect/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
