<?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>www.teaminertia.com &#187; photoshop</title>
	<atom:link href="http://www.teaminertia.com/blog/category/photoshop/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.teaminertia.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 25 Nov 2009 12:12:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Color in webdesign</title>
		<link>http://www.teaminertia.com/blog/2008/02/color-in-webdesign/</link>
		<comments>http://www.teaminertia.com/blog/2008/02/color-in-webdesign/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 09:41:00 +0000</pubDate>
		<dc:creator>vernfdes</dc:creator>
				<category><![CDATA[Web Design Firms]]></category>
		<category><![CDATA[photoshop]]></category>

		<guid isPermaLink="false">http://www.teaminertia.com/blog/?p=245</guid>
		<description><![CDATA[I always thought a good designer should be more than  creative. He should know stuff, have studies, have read lots of things  about design, usability, etc.
Let’s take colors for example. Most of  us choose the colors on our blogs/sites depending on one aspect alone: whether  if we like it or not. [...]]]></description>
			<content:encoded><![CDATA[<p>I always thought a<strong> good designer should be more than  creative</strong>. He should know stuff, have studies, have read lots of things  about design, usability, etc.</p>
<p>Let’s take <span style="font-weight: bold;">colors</span> for example. Most of  us choose the colors on our blogs/sites depending on one aspect alone: whether  if we like it or not. That’s why most of the themes here on MQ had lots of blue  and orange. But… a <span style="font-weight: bold;">real designer </span>would  choose the colors depending on the target and on the style of the site. Because  colors make us feel a certain way, so they can and should be <span style="font-weight: bold;">used to support the purpose of a website</span>.</p>
<p> Let’s take a look at the main colours now:</p>
<p><span id="more-137"></span></p>
<ul>
<li><strong><span style="color:#ff0000;">RED</span> </strong>: signifies strength and  excitement and it can stimulate people <span style="font-weight: bold;">make  quick decisions</span>  </li>
<li><span style="color:#3366ff;"><strong>BLUE</strong></span>: signifies peace, calm,  good fortune  </li>
<li><span style="background-color: rgb(255, 255, 255);"><span style="color:#99cc00;"><strong>GREEN</strong></span>:</span> best for <span style="font-weight: bold;">nature associated websites</span> , as it signifies  movement, nature, environment. Should be very careful when choosing green as the  main color, as if used badly, has been known to drive people away from a website   </li>
<li><span style="color:#ffff00;"><strong>YELLOW</strong></span> is the color of ideas and  stimulates <span style="font-weight: bold;">mental activity and attention</span>  </li>
<li><strong><span style="color:#ff9900;">ORANGE</span></strong> is the color of energy.  Can be used to stimulate people on <span style="font-weight: bold;">impulse  reactions</span>, such as buying stuff from your online magazine or clicking  links  </li>
<li><span style="color:#9966ff;"><strong>PURPLE</strong></span>, the color of nobility,  combines the energy of red and the stability of blue. Symbolizes wisdom and  ambition and is <span style="font-weight: bold;">appreciated by </span>the vast  majority of <span style="font-weight: bold;">children</span>.  </li>
<li><span style="color:#663333;"><strong>BROWN</strong></span>, the color of reliability,  signifies comfort and durability, and gives the websites an <span style="font-weight: bold;">air of professionalism</span>. Careful not to confound  <a id="amzn_cl_link_1" href="http://amazon.com/gp/product/B000BLMILM?ie=UTF8&amp;tag=gaddaigadnew-20&amp;link_code=em1&amp;camp=212341&amp;creative=384049&amp;creativeASIN=B000BLMILM&amp;adid=7442abfe-7496-4788-a7e5-9d4430bd0510" target="_blank">Brown with Beige</a>, the color of dullness  </li>
<li><strong>BLACK</strong> speaks to power, mystery and sophistication. It is  used to make the more colorful parts of the sites stand out, like <span style="font-weight: bold;">photo galleries</span>. Too much black on a theme can  be bad, as it would <span style="font-weight: bold;">darken the mood of the  visitors</span>. </li>
</ul>
<p>In the end, remember this: <em>&#8220;Color is immediate, emotional and memorable.  If you have a website, try this simple test. Look at it for a few moments and  write down the feelings and words that come to mind. If your colors aren’t  telling you the same story as your content it may be time to look at changing  your color scheme.&#8221;</em> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.teaminertia.com/blog/2008/02/color-in-webdesign/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>CSS Drop Shadows II: Fuzzy Shadows</title>
		<link>http://www.teaminertia.com/blog/2007/08/css-drop-shadows-ii-fuzzy-shadows/</link>
		<comments>http://www.teaminertia.com/blog/2007/08/css-drop-shadows-ii-fuzzy-shadows/#comments</comments>
		<pubDate>Wed, 29 Aug 2007 09:59:00 +0000</pubDate>
		<dc:creator>vernfdes</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[website design]]></category>

		<guid isPermaLink="false">http://www.teaminertia.com/blog/?p=240</guid>
		<description><![CDATA[
We like shadows. We enjoy making them drop and we love CSS and standards, so  we wrote CSS Drop Shadows. The little  voice in our head approved of it. We thought that was the end of it.
We thought wrong.
The internet being the kind of medium it is, minutes after the  publication of [...]]]></description>
			<content:encoded><![CDATA[<div id="articletext">
<p>We like shadows. We enjoy making them drop and we love CSS and standards, so  we wrote <a href="http://www.blogger.com/articles/cssdropshadows/">CSS Drop Shadows</a>. The little  voice in our head approved of it. We thought that was the end of it.</p>
<p>We thought wrong.</p>
<p>The internet being the kind of medium it is, <em>minutes</em> after the  publication of the article, we started receiving comments, queries and  suggestions for improvements. Most notable among the latter was <a href="http://wubbleyew.com/tests/dropshadows.htm">Phil Baines’ method</a> for  keeping the markup simple when dealing with paragraph drop shadows. We are  indebted to him.</p>
<p>The most complained-about shortcoming of the technique turned out to be the  sharp top and left edges of the shadow, which, although generally acceptable,  are unlike what an image editing program would produce (a fuzzy shadow). Given  that the shadow image is effectively <em>clipped</em> at those points, we felt  this was an unavoidable inconvenience, chiefly due to Internet Explorer’s  inability to display PNG’s transparency natively.</p>
<div style="border: 1px solid rgb(160, 160, 160); margin: 10px auto 15px 10px; padding: 10px; float: left; width: 350px; background-color: rgb(255, 255, 255);">
<div class="alpha-shadow" style="margin: 10px 0px 0px 6px; float: left;">
<div><img alt="A cat's nose" src="http://www.blogger.com/d/cssdrop2/img/catnose.jpg" /></div>
</div>
<div class="img-shadow" style="margin: 16px 0px 0px; clear: none; float: right ! important;"><img alt="A cat's nose" src="http://www.blogger.com/d/cssdrop2/img/catnose.jpg" /></div>
<p><img alt="blowup of shadow detail" src="http://www.blogger.com/d/cssdrop2/img/example1blowup.gif" /> </div>
<p>
<p>Then <a href="http://jotbe-fx.de/daily/">Jan</a> pointed out a technique for  making Internet Explorer render PNG’s alpha channel correctly. It works by  activating Explorer’s <code>AlphaImageLoader</code> filter (previously discussed  in <a href="http://www.blogger.com/articles/pngopacity/">this ALA article</a>), but does so in an  inobtrusive way which requires no extra javascript code. We think it’s a  godsend. Combining this technique, some image trickery and our “fake shadow  offset” method, we’ll be able to make properly fuzzy shadows that work across  browsers.</p>
<p>In this article we’ll learn how to:</p>
<ul>
<li>Hide a stylesheet from non-IE browsers so it doesn’t affect document  validation.  </li>
<li>Coerce IE5.5/IE6 into displaying PNG transparency correctly.  </li>
<li>Use the above to create fuzzy shadow edges for our Drop Shadow effect.  </li>
</ul>
<p>First, we’ll fabricate our fuzzy shadow edge. To do this, we must create an  <em>inverse shadow</em> in our image editing program. Usually we’d use a black  shadow over a background color. For this effect, we’ll need a colored shadow. It  must be the same color as the background over which we’ll apply the effect.</p>
<p>Start with an image like the “fake shadow offset” we described in the  previous article. This one should be thinner than before (about 3px thickness  for a 6px shadow has worked out well for us). Our examples will use white as  background color. When reproducing this technique, adjust for yours.</p>
<p>We’ll apply a “Drop Shadow” effect to this image, taking care to specify  white for the shadow color. A strong shadow is desirable — the stronger it is,  the faster your shadow will seem to fade. We should now have something that  looks like this:</p>
<div style="border: 1px solid rgb(220, 230, 232); margin: 10px 0px 20px 30px; padding: 3px; float: left;"><img alt="Fake Shadow offset image" src="http://www.blogger.com/d/cssdrop2/img/example4.gif" /></div>
<p>
<p>Save this image as a PNG with full transparency. We’ll use this file for  IE5.5, IE6 and standards compliant browsers. Make a regular version <em>sans  shadow</em> with thicker offset (as seen in the previous article) and save that  as a GIF file. We’ll feed this one to IE 5 (which does not support the  <code>AlphaImageLoader</code> filter). Here are sample files for your perusal:  <a href="http://www.blogger.com/d/cssdrop2/img/shadow2.png">PNG</a>/<a href="http://www.blogger.com/d/cssdrop2/img/shadow2.gif">GIF</a> (Check them on an image editing  program, since they will look like <em>white on white</em> in your browser).</p>
<p>Since we now have a solid color at the edge of our offset, we’ve effectively  given up on the possibility of having a transparent shadow, so we’ll use a  simple GIF for it. Make sure you apply the effect over the background color  you’ll use. Here’s our example shadow: <a href="http://www.blogger.com/d/cssdrop2/img/shadow.gif">GIF</a>.</p>
<p>The markup for this effect will be two </p>
<div>’s around our image/block  element.
</p>
<pre>
<div class="alpha-shadow">
<div> <img src="http://www.blogger.com/img/test.jpg" alt="just a test" /></div>

</div>

</pre>
<p>The basic technique is still the same: We’ll set up the fake offset (with its  inverse shadow) as background of the innermost </p>
<div>, and the shadow as  background of the outermost one. When overlapped, the transparency of the PNG  will seem to gradually dissolve the shadow image until it becomes the solid  background color. The tricky part is making this work in Explorer.
</p>
<div style="border: 1px solid rgb(220, 230, 232); margin: 10px 0px 20px 30px; padding: 3px; float: left;"><img alt="Illustrated process" src="http://www.blogger.com/d/cssdrop2/img/example5.gif" /></div>
<p>
<p>Our CSS is pretty much what we had seen in the previous article:</p>
<pre>.alpha-shadow {float: left;background: url(img/shadow1.gif) <span class="linewrap">»</span>no-repeat bottom right;margin: 10px 0 0 10px !important;margin: 10px 0 0 5px;}

.alpha-shadow div {background: url(img/shadow2.png) <span class="linewrap">»</span>no-repeat left top !important;background: url(img/shadow2.gif) <span class="linewrap">»</span>no-repeat left top;padding: 0px 5px 5px 0px;}

.alpha-shadow img {background-color: #fff;border: 1px solid #a9a9a9;

padding: 4px;}</pre>
<p>If you look closely you’ll notice we’re still including the non-fuzzy GIF  offset (<code>shadow2.gif</code>) as background of the inner </p>
<div>. This  is for the benefit of Internet Explorer 5.0, which doesn’t support the  <code>AlphaImageLoader</code> filter. As it stands, this code will apply to all  versions of Explorer. To make adjustments for IE 5.5/6, we’ll create an extra  CSS file.
</p>
<h2>ie.css</h2>
<p>To activate the <code>AlphaImageLoader</code> filter in a simple and reliable  way, we’ll first include it in its own CSS file and name it <code>ie.css</code>.  We know this is shameful and will probably make the Standards Squad put a price  on our head, but we’ll hide this file from other browsers later, so it’s ok.  Kind of.</p>
<p>Our <code>ie.css</code> stylesheet will look like this:</p>
<pre>.alpha-shadow div {filter:progid:DXImageTransform.Microsoft<span class="linewrap">»</span>.AlphaImageLoader(src='img/shadow2.png', <span class="linewrap">»</span>sizingMethod='crop');background: none;}</pre>
<p>The <code>AlphaImageLoader</code> filter supports two sizing methods: crop  and scale. We’ll use <code>crop</code> for our offset (<code>scale</code> fits  the full image into the block, and is not what we’re looking for). Since the  filter is somewhat limited and does not support CSS-like image positioning,  we’re stuck with shadows that drop down and to the right (the image on its  default position is all the way to the left and top).</p>
<p>We should note that, since the filter places the image in the foreground of  the block element rather than as its background, this technique could be set up  to show fuzzy shadows in Explorer with only one </p>
<div> surrounding the  image, and show the hard edge shadow for other browsers. Not being ones to  reward bad browser behavior, we’ll stick to the technique with the extra
<div>, which gives us a fuzzy shadow in almost every browser under the  sun.
</p>
<p>The second line, where we set the </p>
<div>’s background to  <code>none</code>, is there in order to remove the GIF offset we specified in  the CSS before. Since we&#8217;ll only feed this file to IE5.5 and IE6, IE5 keeps the  GIF offset (and thus displays a hard edge shadow). The rest of the browsers  ignore that GIF file by the <code>!important</code> method we specified in the  <a href="http://www.blogger.com/articles/cssdropshadows/">previous article</a>.
</p>
<h2>Conditional Comments</h2>
<p>To hide the <code>ie.css</code> stylesheet from all browsers that don’t need  it, we’ll use <a href="http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp">Conditional  Comments</a>, a Microsoft provided technique to serve content to specific  versions of Internet Explorer. They are included in the html document and look  like standard html comments, so browsers other than IE5+ ignore them (and so  does the <a href="http://jigsaw.w3.org/css-validator/">w3c Validator</a>, which  is convenient). We’ll insert this in the  of our document,  <em>after</em> the CSS for the drop shadow:</p>
<pre><!--[if gte ie 5.5000]>
<link rel="stylesheet" type="text/css" href="ie.css"><![endif]--></pre>
<p>What that does is specify that the enclosed bit of code should be used by  versions <em>Greater Than or Equal</em> (the <code>gte</code> part) to Internet  Explorer 5.5 (it must be specified as 5.5000 because of <a href="http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp#Version_Vectors">Version  Vectors</a>), thus feeding IE5.5 and IE6 the special stylesheet.</p>
<p>That completes the technique. This may seem overly complicated just to  achieve a fuzzy shadow, but then again, they say that <em>God is in the  details</em>. As a plus, the mentioned techniques can be used to achieve all  sorts of different effects.</p>
<p>Here, have a cat:</p>
<div class="alpha-shadow" style="margin: 5px 0px 0px 30px;">
<div><img alt="Cat on floor" src="http://www.blogger.com/d/cssdrop2/img/catfloor.jpg" /></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.teaminertia.com/blog/2007/08/css-drop-shadows-ii-fuzzy-shadows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Drop Shadows</title>
		<link>http://www.teaminertia.com/blog/2007/08/css-drop-shadows/</link>
		<comments>http://www.teaminertia.com/blog/2007/08/css-drop-shadows/#comments</comments>
		<pubDate>Wed, 29 Aug 2007 09:53:00 +0000</pubDate>
		<dc:creator>vernfdes</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[website design]]></category>

		<guid isPermaLink="false">http://www.teaminertia.com/blog/?p=239</guid>
		<description><![CDATA[
They’re the corkscrew in every graphic designer’s Swiss Army knife. Much  used, oft maligned but always popular, drop shadows are a staple of  graphic design. Although easy to accomplish with image-editing software, they’re  not of much use in the fast-changing world of web design. On the web,  adaptability and ease of [...]]]></description>
			<content:encoded><![CDATA[<div id="articletext">
<p>They’re the corkscrew in every graphic designer’s Swiss Army knife. Much  used, oft maligned but <em>always</em> popular, drop shadows are a staple of  graphic design. Although easy to accomplish with image-editing software, they’re  not of much use in the fast-changing world of web design. On the web,  adaptability and ease of use dictate trends — and static images with a fixed  background effect are not very adaptable.</p>
<p>But what if we had a technique to build flexible CSS drop shadows that can be  applied to arbitrary block elements? That can expand as the content of the block  changes shape? Compatible with most modern browsers? With better results for  standards-compliant browsers? If you’re not sold yet, we can also tell you that  it requires minimal markup.</p>
<p>Interested? Well, first off, we wouldn’t want to take credit for something we  didn’t invent, but merely improved upon. This particular technique was <a href="http://1976design.com/blog/archive/2003/11/14/shadows/">conceived and  demonstrated</a> by Dunstan Orchard, of <a href="http://1976design.com/">1976  design</a> fame (hats off to you, Dunstan). We found it was easy, intuitive, and  worked like a charm. However, after closer examination, we saw room for  improvement and set to work on it.</p>
<p>Here’s how it works: you need to make a drop shadow image in the image editor  of your choice. It should be only the shadow, without a visible border (an easy  way to do this is by applying the effect to an empty selection). Make sure your  image is big enough to cover the maximum expected size of the block elements  that will use it. In practice, we’ve found that 800 x 800 is a respectable  enough size. Save it as a GIF, making sure you use the color of the background  you’ll apply the effect over. Additionally, save the same shadow with full alpha  transparency (no background color) as PNG. This will be used to feed a better  shadow to browsers capable of displaying it. These are some sample files: <a href="http://www.blogger.com/d/cssdropshadows/img/shadow.gif">GIF file</a>/<a href="http://www.blogger.com/d/cssdropshadows/img/shadowAlpha.png">PNG file</a>.</p>
<div style="border: 1px solid rgb(169, 169, 169); margin: 3px; padding: 3px; float: right;"><img alt="test" src="http://www.blogger.com/d/cssdropshadows/img/catFace.jpg" /></div>
<p>We’ll start by giving a shadow to an image and then move on to other block  elements. In a moment of ingenuity, we decided to name our class “img-shadow”.  Our test subject shall be this cute cat:</p>
<p style="clear: both;">And its corresponding markup (one div is the only extra  markup we’ll need):</p>
<p><code></code></p>
<div class="img-shadow"> <img src="http://www.blogger.com/cat.jpg" alt="test" /></div>
</p>
<p>The following illustration shows how the technique works:</p>
<div style="border: 1px solid rgb(194, 204, 220); margin: 10px 0px 10px 20px; padding: 3px; float: left;"><img alt="Technique illustration" src="http://www.blogger.com/d/cssdropshadows/img/example1.jpg" /></div>
<p>
<p>First, our previously prepared shadow file will be set as background for the  div.</p>
<p><code>background: url(shadow.gif) no-repeat bottom right;</code> </p>
<p>Then we’ll give the image negative top and left margins to make the “drop”  that gives us the shadow. Our shadow is six pixels wide, so that’s our magic  value.</p>
<p><code>margin: -6px 6px 6px -6px;</code></p>
<p>We float the <code>div</code> to avoid having to specify its size (otherwise  it will take up all available horizontal space).</p>
<p>Remember we said that we’d provide better shadows for better browsers? This  line will do the trick:</p>
<p><code>background: url(shadowAlpha.png) no-repeat right bottom  !important;</code></p>
<p>That “!important” bit tells the browser that the declaration is to take  precedence over normal declarations for the same element (see <a href="http://www.w3.org/TR/REC-CSS2/cascade.html#important-rules">the spec</a>).  It also happens to be unsupported in all versions of Internet Explorer, which  also lack native support for transparent PNG’s. It’s almost too convenient. By  specifying controversial declarations twice, we get the desired behavior (IE  takes the second one, most other browsers the first one). The end result is  that, were the background color to change, browsers that support PNG would  maintain a perfectly transparent shadow. Sadly, Explorer’s shadow will stay with  its original background color.</p>
<p>But <strong>why</strong> do this you ask? The reasons are twofold:</p>
<ul>
<li><b>We can</b>: This is a painless, effortless and automatic hack that yields  great results in the browsers that support it.  </li>
<li><b>It may fix itself</b>: If the new version of Internet Explorer (shipping  with Longhorn) supports both of these standards, we won’t have to fix a thing to  get pixel-perfect, truly transparent shadows in it. </li>
</ul>
<p>The finished CSS code looks like this:</p>
<p><code>.img-shadow {<br /> float:left;<br /> background: url(shadowAlpha.png)  no-repeat bottom right !important;<br /> background: url(shadow.gif) no-repeat  bottom right;<br /> margin: 10px 0 0 10px !important;<br /> margin: 10px 0 0  5px;<br /> }</p>
<p>.img-shadow img {<br /> display: block;<br /> position:  relative;<br /> background-color: #fff;<br /> border: 1px solid  #a9a9a9;<br /> margin: -6px 6px 6px -6px;<br /> padding: 4px;<br /> } </code></p>
<p>Differences in margin size account for IE’s box model, and that last padding  value gives us a nice frame around the image. Sadly, it is lost in IE 5.5 and  5.0. The drop shadow effect stays, though.</p>
<p>Our shadow will blend seamlessly with its background in standards-compliant  browsers. In Explorer, the shadow will clash with the background unless you’ve  stuck with the background color you used for your shadow. You can see the  results here:</p>
<div style="border: 1px solid rgb(160, 160, 160); margin: 10px 0px 15px; padding: 0px; float: left; width: 188px; height: 250px; background-color: rgb(255, 255, 255);">
<div class="img-shadow"><img alt="A cute cat" src="http://www.blogger.com/d/cssdropshadows/img/cat.jpg" /></div>
</div>
<div style="border: 1px solid rgb(160, 160, 160); margin: 10px 0px 15px; padding: 0px; float: right; width: 188px; height: 250px; background-color: rgb(194, 204, 220);">
<div class="img-shadow"><img alt="A cute cat" src="http://www.blogger.com/d/cssdropshadows/img/cat.jpg" /></div>
</div>
<p>For the next part, we’ll apply the drop shadow effect to a paragraph.</p>
<p>Logic dictates that the same technique should yield similar results when  working with a paragraph, which can be treated as another block element. And  indeed, with most browsers, it works like a charm. Care to guess which one  doesn’t get it right?</p>
<p>While developing this technique, we found that when working with a block  element other than an image, in bold defiance of common sense, Explorer decided  to clip the left and top parts of the block — the ones that “jump” out of the  shadow — regardless of what we tried. Amusingly enough, the only version of  Explorer that gets this right is 5.0. No amount of hacks, overflow settings, or  gentle suggestions seemed to help (and yes, <em>righteous cursing</em> was  tried). We gave up and decided that a different approach was called for.</p>
<p>The method we came up with is partly based on Douglas Bowman’s <a href="http://www.blogger.com/articles/slidingdoors/">Sliding Doors</a> methodology, and calls for an  extra bit of markup (another div), so our paragraph will look like this:</p>
<p><code></code></p>
<div class="p-shadow"> 
<div> 
<p>The rain  in Spain &#8230;</p>
<p> </div>
<p></div>
<p>
</p>
<p>Instead of giving the paragraph negative top and left margins, we’ll give it  positive right and bottom padding. This will expose the shadow (set as  background for the outermost div). Then we’ll <em>fake</em> the shadow offset by  using a partly transparent GIF as background for the inner div, which will  overlap the shadow. Make sure that the visible part of this image is the same  color as the background over which you use the drop shadow effect. Name the  image “shadow2.gif”. It should be constructed as follows: </p>
<div style="border: 1px solid rgb(194, 204, 220); margin: 10px 0px 10px 20px; padding: 3px; float: left;"><img alt="Fake offset image example" src="http://www.blogger.com/d/cssdropshadows/img/example3.gif" /></div>
<p>
<p>Here’s an example <a href="http://www.blogger.com/d/cssdropshadows/img/shadow2.gif">GIF file</a>  (this image will most likely look as <em>white on white</em> on your browser, so  you may want to save it and take a look at it in your image editing  program).</p>
<p>This illustration shows what we’re going to do:</p>
<div style="border: 1px solid rgb(194, 204, 220); margin: 10px 0px 10px 20px; padding: 3px; float: left;"><img alt="Paragraph technique illustration" src="http://www.blogger.com/d/cssdropshadows/img/example2.gif" /></div>
<p>
<p>The following are the styles needed to accomplish the effect. Notice that the  extraneous image and padding are used only by Internet Explorer. Most other  browers effectively ignore the inner div, and stick with the method we used for  the drop shadow of the image.</p>
<p><code>.p-shadow {<br /> width: 90%;<br /> float:left;<br /> background:  url(shadowAlpha.png) no-repeat bottom right !important;<br /> background:  url(shadow.gif) no-repeat bottom right;<br /> margin: 10px 0 0 10px  !important;<br /> margin: 10px 0 0 5px;<br /> }</p>
<p>.p-shadow div  {<br /> background: none !important;<br /> background: url(shadow2.gif) no-repeat  left top;<br /> padding: 0 !important;<br /> padding: 0 6px 6px  0;<br /> }</p>
<p>.p-shadow p {<br /> color: #777;<br /> background-color:  #fff;<br /> font: italic 1em georgia, serif;<br /> border: 1px solid  #a9a9a9;<br /> padding: 4px;<br /> margin: -6px 6px 6px -6px  !important;<br /> margin: 0;<br /> }<br /></code></p>
<p>The same considerations for background color mentioned in the image example  apply for paragraphs. Here’s the end result. (Try resizing the text on your  browser to see the box change size and watch the shadow adjust.)</p>
<div class="p-shadow">
<div>
<p style="font-size: 1.3em;">The rain in Spain falls mainly on the  plain.</p>
</div>
</div>
<p><b>Additional notes</b></p>
<p>In this article, the styles for image and paragraph have been broken up for  clarity, but both could be specified in one fell swoop with minor  adjustments.</p>
<p>This technique has been tested with Gecko-based browsers, Safari, Opera and  IE 5.0+. Apart from the differences noted, no problems were observed. It should  work well with most of the stuff out there (no, <em>not</em> Netscape 4.x).</p>
</div>
<div id="learnmore"><span style="font-weight: bold;">About the Author</span>
<p><img alt=" Sergio Villarreal" src="http://www.blogger.com/pix/authors/short_hair_silhouette.jpg" />  Sergio Villarreal lives in México but spends most of the time in his head. He  maintains a weblog and rarely updated webcomic at <a href="http://www.blogger.com/%E2%80%9Dhttp://overcaffeinated.net%E2%80%9D">Overcaffeinated.net</a> and makes a point of  learning a new trick every day. Some are even useful.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.teaminertia.com/blog/2007/08/css-drop-shadows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pencil Sketch Tutorial</title>
		<link>http://www.teaminertia.com/blog/2007/06/pencil-sketch-tutorial/</link>
		<comments>http://www.teaminertia.com/blog/2007/06/pencil-sketch-tutorial/#comments</comments>
		<pubDate>Tue, 12 Jun 2007 04:52:00 +0000</pubDate>
		<dc:creator>Team</dc:creator>
				<category><![CDATA[photoshop]]></category>

		<guid isPermaLink="false">http://www.teaminertia.com/blog/?p=234</guid>
		<description><![CDATA[                                 Take any photo or artwork and create a pencil              [...]]]></description>
			<content:encoded><![CDATA[<p style="margin-right: 16px; margin-left: 16px;" align="left">                                 Take any photo or artwork and create a pencil                                  sketch as detailed or shaded as you want with a                                  few simple steps.</p>
<p style="margin-right: 16px; margin-left: 16px;" align="left">                                 If you&#8217;re going to print the sketch out on an                                  inkjet printer, create a new file the size of                                  your print at 300 ppi with a white background.                                 Create a new layer and import or copy your photo                                  on this layer.  Resize the photo to fit into the                                  area of the background size. Elements will                                  automatically adjust the resolution of the photo                                  to print quality. </p>
<p style="margin-right: 16px; margin-left: 16px;" align="left">                                 <img src="http://www.webworksite.com/images/pencilsketch.jpg" border="0" height="253" width="200" /></p>
<p style="margin-right: 16px; margin-left: 16px;" align="left">
<p style="margin-right: 16px; margin-left: 16px;" align="left">                                 Change the picture to black and white &#8216;Image |                                  Mode | Greyscale&#8217;, then duplicate it or drag and                                  drop it into the duplicate layer icon on the                                  layers palette. Then, invert the image to a                                  negative, &#8216;Image | Adjustments | Invert&#8217; or just                                  hit ctrl + I.</p>
<p style="margin-right: 16px; margin-left: 16px;" align="left">                                 <img src="http://www.webworksite.com/images/sketchbw.jpg" border="0" height="253" width="200" />                                            <img src="http://www.webworksite.com/images/pencilsketch2.jpg" border="0" height="253" width="200" /></p>
<p style="margin-right: 16px; margin-left: 16px;" align="left">
<p style="margin-right: 16px; margin-left: 16px;" align="left">                                 Now select &#8216;color dodge&#8217; on the layer palette                                  under the layer blend mode. Then use &#8216;Filter |                                  Blur | gaussian blur&#8217; which will bring up a                                  settings box. Move the slider to a radius of                                  about 5 to see the sketch appear. </p>
<p style="margin-right: 16px; margin-left: 16px;" align="left">                                 <img src="http://www.webworksite.com/images/pencilsketch3.jpg" border="0" height="253" width="200" /></p>
<p style="margin-right: 16px; margin-left: 16px;" align="left">
<p style="margin-right: 16px; margin-left: 16px;" align="left">                                 Adjust the radius for the quality of the sketch                                  that you want. The higher settings will give you                                  a more polished blended sketch look and the                                  lower settings will give you fewer shades for a                                  quick or rough sketch look.</p>
<p style="margin-right: 16px; margin-left: 16px;" align="left">                                 <img src="http://www.webworksite.com/images/pencilsketch4.jpg" border="0" height="253" width="200" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.teaminertia.com/blog/2007/06/pencil-sketch-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

