<?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>Tech Wisdom &#187; CSS</title>
	<atom:link href="http://blog.ujjwalkumar.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ujjwalkumar.com</link>
	<description>Its all about Zeroes or Ones</description>
	<lastBuildDate>Sun, 11 Sep 2011 05:19:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Style Images with good looking Frames in CSS</title>
		<link>http://blog.ujjwalkumar.com/2008/06/09/style-images-with-good-looking-frames-in-css/</link>
		<comments>http://blog.ujjwalkumar.com/2008/06/09/style-images-with-good-looking-frames-in-css/#comments</comments>
		<pubDate>Mon, 09 Jun 2008 08:33:47 +0000</pubDate>
		<dc:creator>ujjwal</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://techwisdom.wordpress.com/?p=4</guid>
		<description><![CDATA[hey.. I was just wondering how to add a good looking frame to an image. I googled it a lot, but, couldn&#8217;t find a good enough solution.. So, I decided to use my own creativity with CSS and developed it.. Here&#8217;s the result: (Oops!! its my Boss&#8217;s photo.. sorry boss! ) The code for this [...]]]></description>
			<content:encoded><![CDATA[<p>hey..<br />
I was just wondering how to add a good looking frame to an image. I googled it a lot, but, couldn&#8217;t find a good enough solution.. So, I decided to use my own creativity with CSS and developed it.. Here&#8217;s the result:</p>
<p><a href="http://techwisdom.files.wordpress.com/2008/06/boss.jpg"><img class="alignnone size-medium wp-image-7" src="http://techwisdom.files.wordpress.com/2008/06/boss.jpg?w=85" alt="CSS Example" width="85" height="105" /></a></p>
<p>(Oops!! its my Boss&#8217;s photo.. sorry boss! )</p>
<p>The code for this one is -&gt;</p>
<p>In the HTML page:</p>
<div class="nodeBox emptyNodeBox repIgnore selected">
<div class="nodeLabel"><strong><span class="nodeLabelBox repTarget">&lt;<span class="nodeTag">img</span><span class="nodeAttr editGroup"> <span class="nodeName editable">class</span>=&#8221;<span class="nodeValue editable">framesection</span>&#8220;</span><span class="nodeAttr editGroup"> <span class="nodeName editable">src</span>=&#8221;<span class="nodeValue editable">/images/urImage.jpg</span>&#8220;</span><span class="nodeBracket editable insertBefore">/&gt;</span></span></strong></div>
</div>
<div class="nodeLabel">In the CSS File:</div>
<div class="nodeLabel">
<div class="cssRule insertInto">
<div class="cssHead"><strong><span class="cssSelector">.framesection</span> {<a class="objectLink objectLink-sourceLink"> </a></strong></div>
<div class="cssProp editGroup"><strong><span class="cssPropName editable">background-color</span><span class="cssColon">:</span><span class="cssPropValue editable">white</span><span class="cssSemi">;</span></strong></div>
<div class="cssProp editGroup"><strong><span class="cssPropName editable">border-bottom</span><span class="cssColon">:</span><span class="cssPropValue editable">2px solid black</span><span class="cssSemi">;</span></strong></div>
<div class="cssProp editGroup"><strong><span class="cssPropName editable">border-right</span><span class="cssColon">:</span><span class="cssPropValue editable">2px solid #555555</span><span class="cssSemi">;</span></strong></div>
<div class="cssProp editGroup"><strong><span class="cssPropName editable">border-width</span><span class="cssColon">:</span><span class="cssPropValue editable">2px</span><span class="cssSemi">;</span></strong></div>
<div class="cssProp editGroup"><strong><span class="cssPropName editable">padding</span><span class="cssColon">:</span><span class="cssPropValue editable">4px</span><span class="cssSemi">;</span></strong></div>
<div class="editable insertBefore"><strong>}</strong></div>
</div>
<div class="editable insertBefore">So, this is all thats needed to be done.. One final question: How does this stuff work?? 5 CSS attributes are used in this formatting.. background-color attribute changes the color of the frame (this  div background basically).. border-bottom and border-right adds shadow like effect to the frame.. The padding is for the frame width.. border-width is for the shadow width..</div>
<div class="editable insertBefore">Hope u enjoyed this simple tutorial..</div>
<div class="editable insertBefore">Best of luck with your designing experience..</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.ujjwalkumar.com/2008/06/09/style-images-with-good-looking-frames-in-css/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

