<?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>Fringe Focus &#187; Web Design</title>
	<atom:link href="http://fringefocus.com/category/web-design/feed" rel="self" type="application/rss+xml" />
	<link>http://fringefocus.com</link>
	<description>The Design Blog of Rob Loukotka</description>
	<lastBuildDate>Wed, 09 May 2012 17:38:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>New Fringe Focus Portfolio</title>
		<link>http://fringefocus.com/2011/web-design/new-fringe-focus-portfolio</link>
		<comments>http://fringefocus.com/2011/web-design/new-fringe-focus-portfolio#comments</comments>
		<pubDate>Wed, 17 Aug 2011 14:29:24 +0000</pubDate>
		<dc:creator>Rob Loukotka</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Clients]]></category>
		<category><![CDATA[Fringe Focus]]></category>
		<category><![CDATA[HTML / CSS]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://fringefocus.com/?p=555</guid>
		<description><![CDATA[I&#8217;ve been producing a lot of work this year, and I came to the realization that I needed a more rapid turnaround on updating my portfolio. Cargo Collective is used by a great number of incredible artists, so I decided to bite the bullet and try it out. I was thoroughly impressed by their functionality, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://cargocollective.com/fringefocus"><img class="alignnone size-full wp-image-556" title="New Portfolio on Cargo Collective | Fringe Focus" src="http://fringefocus.com/wp-content/uploads/2011/08/FringeFocus_Portfolio_CargoCollective.jpg" alt="New Portfolio on Cargo Collective | Fringe Focus" width="540" height="334" /></a></p>
<p>I&#8217;ve been producing a lot of work this year, and I came to the realization that I needed a more rapid turnaround on updating my portfolio. <a title="Cargo Collective" href="http://cargocollective.com">Cargo Collective</a> is used by a great number of incredible artists, so I decided to bite the bullet and try it out. I was thoroughly impressed by their functionality, and have just finished replacing my entire portfolio with a new one built upon Cargo.</p>
<p>The new design is my customized version of their SpaceCollective theme. The organization may not be original, but it&#8217;s dead simple to update, and even simpler to browse. No doubt you&#8217;ve seen it before (James White&#8217;s <a title="James White Portfolio" href="http://cargocollective.com/signalnoise">Signal Noise Gallery</a>).</p>
<p>From now on, my personal and professional portfolio will reside at: <a title="Fringe Focus Portfolio" href="http://cargocollective.com/fringefocus">http://cargocollective.com/fringefocus</a>. Exciting! Because Cargo is sexy is hell.</p>
<p><strong>As designers (and developers) we always have the option of building our own system.</strong><br />
Custom code, or a WordPress theme, we sometimes create a more complicated solution. But if your professional life depends on speed and reliability it&#8217;s totally justifiable to move towards a third-party system. This new portfolio means the difference between &#8220;Eh, I&#8217;ll post it next week&#8221; and &#8220;Hey, I&#8217;ll post it now.&#8221;</p>
<p>For those of you with difficult websites or dated portfolios: Try out Cargo Collective, Squarespace, or any other third-party if you feel like you need a change. You could even go further and live entirely off of Flickr, Dribbble, Forrst, etc. to show your work. We no longer have to reinvent the wheel when it comes to showing off our work, there are plenty of new outlets that get the job done. If you still dig doing your own thing, stick to it, it&#8217;s all good!</p>
<p>Fringe Focus will remain as my blog &amp; portal for everything, but my permanent gallery has moved to Cargo, that is all.</p>
<p><strong>I hope you dig the new work, let me know what you think in the comments!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://fringefocus.com/2011/web-design/new-fringe-focus-portfolio/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My New Design Company: Collision Labs</title>
		<link>http://fringefocus.com/2010/web-design/my-new-design-company-collision-labs</link>
		<comments>http://fringefocus.com/2010/web-design/my-new-design-company-collision-labs#comments</comments>
		<pubDate>Wed, 30 Jun 2010 16:19:38 +0000</pubDate>
		<dc:creator>Rob Loukotka</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Clients]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Freelancing]]></category>
		<category><![CDATA[Fringe Focus]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[collision labs]]></category>
		<category><![CDATA[company]]></category>
		<category><![CDATA[graphic design studio]]></category>
		<category><![CDATA[red]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[web design company]]></category>
		<category><![CDATA[white]]></category>

		<guid isPermaLink="false">http://fringefocus.com/?p=226</guid>
		<description><![CDATA[If you know me personally, or follow me on twitter, you may have noticed that I&#8217;ve been working on a big personal project recently. This project is actually much more than just a website, I&#8217;ve actually shifted entirely away from freelancing and now own my own design company. I co-own the venture with my incredibly [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-229" title="Collision Labs" src="http://fringefocus.com/wp-content/uploads/2010/06/title_collision1.jpg" alt="Collision Labs Logo" width="540" height="237" /></p>
<p>If you know me personally, or follow me on <a href="http://twitter.com/fringefocus">twitter</a>, you may have noticed that I&#8217;ve been working on a big personal project recently. This project is actually much more than just a website, I&#8217;ve actually shifted entirely away from freelancing and now own my own design company. I co-own the venture with my incredibly talented design partner, Lisa Bun.</p>
<p>Plans for starting this studio began in 2009, or possibly in 2008 when Lisa and I worked together at a small web design firm. It wasn&#8217;t until early 2010, after having both freelancers for quite some time (and going a tad insane after being home alone 24/7), that our discussions reached a fever pitch and we decided to just roll with it. Lisa is super smart and independent, and I&#8217;m not comfortable unless I radically change my entire life every 12 months or so.</p>
<p>Our official name is Collision Labs, Inc. and we&#8217;ve technically been operational since March of this year. We&#8217;ve even had few great projects already come through our door, all before launching our website. As we all know, personal projects can suck every ounce of time and energy that you have for what seems like forever. Fortunately, forever is over:</p>
<p><a href="http://collisionlabs.com"><img class="alignnone size-full wp-image-230" title="Collision Labs Website" src="http://fringefocus.com/wp-content/uploads/2010/06/slide1.jpg" alt="Collision Labs Website" width="540" height="485" /></a></p>
<p>You can visit Collision at <a href="http://collisionlabs.com">www.CollisionLabs.com</a></p>
<p>Collision is a full service design studio, or more accurately: an awesome world where I&#8217;ll get to continue my graphic design, web design, photography, and motion work&#8230; except in a kickass office. An office where I recently drew a T-Rex DJ:</p>
<p><img class="alignnone size-full wp-image-231" title="T-Rex DJ" src="http://fringefocus.com/wp-content/uploads/2010/06/slide2.jpg" alt="T-Rex DJ" width="540" height="284" /></p>
<p>I&#8217;ll keep writing articles on Fringe Focus about freelancing, but it&#8217;s really interesting to learn the ins and outs of owning a real business.  I&#8217;ll give you a hint, it&#8217;s boring! Well, the paperwork is boring, the work is fun as hell.</p>
<p>By the way, if you&#8217;re in Chicago, come pay us a visit.  We have a killer office with brick walls and such.</p>
<p><strong>Let me know what you think in the comments!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://fringefocus.com/2010/web-design/my-new-design-company-collision-labs/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Kill Your Worst Portfolio Piece Right Now</title>
		<link>http://fringefocus.com/2010/web-design/kill-your-worst-portfolio-piece-right-now</link>
		<comments>http://fringefocus.com/2010/web-design/kill-your-worst-portfolio-piece-right-now#comments</comments>
		<pubDate>Mon, 31 May 2010 18:57:43 +0000</pubDate>
		<dc:creator>Rob Loukotka</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Clients]]></category>
		<category><![CDATA[Freelancing]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[demo reel]]></category>
		<category><![CDATA[freelancer]]></category>
		<category><![CDATA[kill]]></category>
		<category><![CDATA[motion graphics artist]]></category>
		<category><![CDATA[portfolio]]></category>
		<category><![CDATA[portfolios]]></category>
		<category><![CDATA[quality]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[worst]]></category>

		<guid isPermaLink="false">http://fringefocus.com/?p=204</guid>
		<description><![CDATA[Kill It With Fire. You already know what I&#8217;m going to say. You&#8217;re thinking about that work you did two years ago, that project you just had to throw up onto your portfolio. You might have thought &#8220;This isn&#8217;t the best website/logo/poster/thing I&#8217;ve ever done, but it&#8217;s alright.  Besides, I need more work to show [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-209" title="Kill Portfolio Title" src="http://fringefocus.com/wp-content/uploads/2010/06/kill_portfolio_title.jpg" alt="Kill Portfolio Title" width="540" height="237" /></p>
<h2>Kill It With Fire.</h2>
<p>You already know what I&#8217;m going to say. You&#8217;re thinking about that work you did two years ago, that project you just had to throw up onto your portfolio. You might have thought &#8220;This isn&#8217;t the best website/logo/poster/thing I&#8217;ve ever done, but it&#8217;s alright.  Besides, I need more work to show clients.&#8221; Or maybe your first thought was &#8220;This is awesome, everyone will want to see this.&#8221; Except a few months or years later, you can point out a dozen things you could have done better. Maybe the shadows are too dark, maybe the textures are weak, maybe your attention to typographic details was lacking; for whatever reason, this just isn&#8217;t your best piece of work.</p>
<p>I want you take that work and place it carefully into your arms. Embrace it tenderly. Take it out back, and whisper &#8220;I&#8217;ve never loved anybody but you.&#8221; Then shoot it in the back of the head. Burn the evidence. If anybody ever asks you about that work again, just say &#8220;What work? I never made anything like that&#8221; or move to Canada as a fugitive.</p>
<h2>Portfolios &amp; Donuts. A Dozen is Enough.</h2>
<p>You wouldn&#8217;t walk into Krispy Kreme and ask for 29 different donuts. Your clients won&#8217;t visit your website and look at 29 different projects.  12 is often enough.</p>
<p>The amount of work any freelancer or company should display is also dependent on your field. A motion graphics artist might get away with five or six pieces, due to both the length of time it takes to produce them, and having the luxury of compressing work into a 30 second to 2 minute demo reel. A print designer, however, could get away with 15 or 16 pieces, if some were smaller projects like business cards or flyers. Ideally, small pieces of larger projects should be combined. If you designed business cards, letterhead, and condom wrappers for a client; show them all in one shot or page. Ultimately, 12 projects should suffice.</p>
<h2>Why?</h2>
<p>Let&#8217;s say you had 29 projects.  A potential employer or client might spend time taking an honest look at five or six of them before either deciding to contact you or moving onto another designer&#8217;s portfolio.  What if that person were to look at your WORST five or six projects? Sure they&#8217;re probably not terrible, but you want to increase the likelihood that they&#8217;ll view your best projects.  So cut it down.</p>
<h2>Killing the One.</h2>
<p>Most of your portfolios are likely already a good size.  If you have a broad range of services, you may need 12-15.  If you&#8217;re a specialist you could show 6-8. The subject of this post is about finding the single, worst piece of work you currently have online (or on paper), and killing it in cold blood.</p>
<p>You most likely already know which piece I&#8217;m talking about.  If not, look at your portfolio right now. One of those pieces is lacking behind the others. It could be old work that doesn&#8217;t reflect your current skill level, or new work that just doesn&#8217;t feel right, or was rushed.</p>
<p><strong>Delete it.</strong></p>
<p>If you have an easily updatable website (WordPress, Squarespace, Cargo Collective, anything with a CMS) this should be easy. And if you built something more complicated from scratch, don&#8217;t worry about building a whole new portfolio right now.  Just spend time today deleting the images, the page, and every link or reference to it.  Never speak of it again.</p>
<p><strong>Remember!</strong></p>
<p>Just because you deleted a page, doesn&#8217;t mean the internet has forgotten.  There may be blogs, websites, or tweets linking to your project! If you remove a linked page, be sure to set up a 301 redirect for it. If you don&#8217;t know what that is, it essentially is a bit of code you place on your site that automatically redirects users on missing pages to a proper one.  So if they click a link to the old project they&#8217;d be redirected to your homepage (or portfolio page, etc.)</p>
<p>You could also simply delete links or reference to the project, but LEAVE the actual page intact. No new visitors would see it, but old links wouldn&#8217;t be broken.  But it would be like being haunted by the ghost of your dead project.</p>
<h2>Enjoy the Funeral.</h2>
<p>Delete the project (or rip that page out of your printed portfolio), and feel better knowing that the rest of your portfolio has just improved. Finally freed of the scourge that was a kind of shitty project, your new portfolio will soar to grand new heights of&#8230; whatever, thanks for reading. Have fun killing.</p>
<p><strong>Tell us what you killed! Leave a comment!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://fringefocus.com/2010/web-design/kill-your-worst-portfolio-piece-right-now/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>CSS Sprites. They&#8217;re Awesome. Use Them.</title>
		<link>http://fringefocus.com/2010/tutorial/css-sprites-theyre-awesome-use-them</link>
		<comments>http://fringefocus.com/2010/tutorial/css-sprites-theyre-awesome-use-them#comments</comments>
		<pubDate>Thu, 04 Mar 2010 08:12:15 +0000</pubDate>
		<dc:creator>Rob Loukotka</dc:creator>
				<category><![CDATA[HTML / CSS]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[background position]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[sprite]]></category>
		<category><![CDATA[sprites]]></category>
		<category><![CDATA[technique]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://fringefocus.com/?p=138</guid>
		<description><![CDATA[Mo&#8217; Images = Mo&#8217; Problems My work folder currently has 32,000 files in it. An unbelievable amount of them are images or image related (JPEGS, GIFs, PNGs, PSDs, AIs, etc.). As an interactive designer, I can easily accrue hundreds of images throughout the design (and development) process. While I may let all my local files [...]]]></description>
			<content:encoded><![CDATA[<h2><img class="alignnone size-full wp-image-175" title="CSS Sprites Title" src="http://fringefocus.com/wp-content/uploads/2010/03/title_slide.jpg" alt="CSS Sprites Title" width="540" height="237" /></h2>
<h2>Mo&#8217; Images = Mo&#8217; Problems</h2>
<p>My work folder currently has 32,000 files in it. An unbelievable amount of them are images or image related (JPEGS, GIFs, PNGs, PSDs, AIs, etc.). As an interactive designer, I can easily accrue hundreds of images throughout the design (and development) process. While I may let all my local files multiply like rabbits, it&#8217;s important not to bring this chaos onto the web. The number of images used in a website design can get wild pretty quickly, so it&#8217;s important for us as designers to have a weapon to reign them in, not unlike the Ghostbusters.</p>
<h2>What&#8217;s a CSS Sprite, Daddy?</h2>
<p>Well technically a sprite is just an image.  CSS is then used for separation and reorganization of that image. The sprite itself is generally used to combine many small images into one large image. This is done not only save precious loading time and bandwidth, but also to keep your site structure clean and manageable.</p>
<h2>How Image Sprites Save Time</h2>
<p>Suppose you have fancy navigation bar on your website, with 8 links. Suppose said links each had a fancy rollover, the kind with that &#8216;glow&#8217; and &#8216;twinkle&#8217; that makes your clients drool. In the past (or today if you aren&#8217;t yet using the CSS sprite technique) this would require 8 separate images, with another 8 images for the hover state. That&#8217;s a total of 16 images for the navigation alone.  That&#8217;s 16 files you&#8217;d have to create, optimize, name, and save. 16 files you&#8217;d have to call in your stylesheet, and upload through FTP. Worst of all, that&#8217;s 16 HTTP requests on your server from a visitor. While the images may be very small, each request takes time, and ultimately increases the loading time for your page.</p>
<p>Instead, one could create a sprite showing all of the links with each of their rollover states  as one image. This means one HTTP request. When dealing with dozens of small images, this technique can often cut loading time for images in half.</p>
<h2>How the CSS Sprite Technique Keeps it Clean</h2>
<p>Here&#8217;s some example CSS for 4 links with rollovers. 8 images are called because there is no use of the sprite technique. Each link has its own image, and each link has its own rollover image&#8230; these links are greedy.</p>
<pre><code>.link_one {background-image:url(img/link_one.png);}
.link_two {background-image:url(img/link_two.png);}
.link_three {background-image:url(img/link_three.png);}
.link_four {background-image:url(img/link_four.png);}
.link_one:hover {background-image:url(img/link_one_hover.png);}
.link_two:hover {background-image:url(img/link_two_hover.png);}
.link_three:hover {background-image:url(img/link_three_hover.png);}
.link_four:hover {background-image:url(img/link_four_hover.png);}</code></pre>
<p>While that may not seems like a huge problem, imagine if you wanted to change the color of ALL those image links one day.  That&#8217;s 8 separate times you&#8217;d have to open a file, change a color, and save it. Do this for larger menus, sidebar items, or footer areas, and you&#8217;ll quickly have a massive pile of images that you have to maintain. This almost always leads to designers abandoning beneficial changes on their websites because &#8220;It&#8217;ll take too long!&#8221;</p>
<p><strong>Here&#8217;s what some of your CSS would look like were you to move all those images into a single sprite:</strong></p>
<pre><code>.link {background-image:url(img/link.png);}

.one {background-position:0px 0px;}
.two {background-position:20px 0px;}
.three {background-position:40px 0px;}
.four {background-position:60px 0px;}
.one:hover {background-position:0px -20px;}
.two:hover {background-position:-20px -20px;}
.three:hover {background-position:-40px -20px;}
.four:hover {background-position:-60px -20px;}</code></pre>
<p>Obviously this is a bit cleaner, but the important takeaway is that if you wanted to edit the look of ALL of these links at once, you could. Simply drop that sprite into Photoshop, re-save, and you&#8217;ve fixed them all at once.</p>
<p>Alright, so you understand that it WOULD save you time and energy, but you don&#8217;t know how to make a sprite? Who could possibly teach you how to do this on your very own? Perhaps its&#8230;</p>
<h2>TERRIFIC TUTORIAL TIME!</h2>
<p><strong>How to make a CSS sprite based navigation of your very own:</strong></p>
<p><img class="alignnone size-full wp-image-162" title="CSS Sprites Slide 1" src="http://fringefocus.com/wp-content/uploads/2010/03/slide1.jpg" alt="CSS Sprites Slide 1" width="540" height="132" /></p>
<p><strong>1.</strong> Let&#8217;s say you want to make a simple navigation with 4 links. We&#8217;ll go with the most basic essential links here: &#8216;Home&#8217;, &#8216;About&#8217;, &#8216;Pterodactyl&#8217;, and &#8216;Contact&#8217;. Go ahead and create a quick mockup in Photoshop of some navigation like this, or apply the following steps to your own current web projects.</p>
<p><img class="alignnone size-full wp-image-163" title="CSS Sprites Slide 2" src="http://fringefocus.com/wp-content/uploads/2010/03/slide2.jpg" alt="CSS Sprites Slide 2" width="540" height="264" /></p>
<p><strong>2.</strong> Make sure you have one layer set as the default &#8216;normal&#8217; state. This is how the links will generally appear in your design. Also create another layer that shows all of the links in their &#8216;hover&#8217; state. In this case I&#8217;ve altered the styling, color, and added an underline. Ideally your link size shouldn&#8217;t change (If you&#8217;re smart you can technically get away with it, just make sure you give ample space for that growth in the sprite, we&#8217;ll touch on that later).</p>
<p><img class="alignnone size-full wp-image-164" title="CSS Sprites Slide 3" src="http://fringefocus.com/wp-content/uploads/2010/03/slide3.jpg" alt="CSS Sprites Slide 3" width="492" height="31" /></p>
<p><strong>3.</strong> We need to single out the navigation now, and make it its own image. You can copy your navigation only, create a new image by hitting Ctrl+N (Cmd+N for Mac Folk), and paste it in. Please note in my example I&#8217;ve done a more complex selection around the links, preserving the transparency. You can learn how to do that in my <a href="http://fringefocus.com/2010/tutorial/invisible-design-how-to-optimize-your-transparent-pngs">Transparency in .PNGs</a> article, but dragging a simple rectangular selection around your menu items is perfectly fine as well.</p>
<p><img class="alignnone size-full wp-image-165" title="CSS Sprite Slide 4" src="http://fringefocus.com/wp-content/uploads/2010/03/slide4.jpg" alt="CSS Sprite Slide 4" width="540" height="280" /></p>
<p style="text-align: center;"><img class="size-full wp-image-166 aligncenter" title="CSS Sprites Slide 5" src="http://fringefocus.com/wp-content/uploads/2010/03/slide5.jpg" alt="CSS Sprites Slide 5" width="492" height="62" /></p>
<p><strong>4.</strong> Double the canvas size of your navigation image by choosing Image &gt; Canvas Size&#8230; (Alt+Ctrl+C or Alt+Cmd+C). You can double the height without doing any math by simply checking off &#8216;Relative&#8217; and increasing the height by 100% (or don&#8217;t click it, and increase by 200%, I won&#8217;t stop you). Your resulting canvas should now have enough room to paste in your &#8216;hover&#8217; version below your &#8216;normal&#8217; version.</p>
<p style="text-align: center;"><img class="size-full wp-image-167 aligncenter" title="CSS Sprites Slide 6" src="http://fringefocus.com/wp-content/uploads/2010/03/slide6.jpg" alt="CSS Sprites Slide 6" width="492" height="62" /></p>
<p><strong>5.</strong> Uh oh! Remember I said the link size shouldn&#8217;t change, and this is why. Adding an underline technically makes the &#8216;hover&#8217; links a bit taller than the &#8216;normal&#8217; links. Simply giving room for the bottom underline will cause a huge headache later on in the CSS. We&#8217;ll need to add space on the bottom of each row.</p>
<p style="text-align: center;"><img class="size-full wp-image-168 aligncenter" title="CSS Sprites Slide 7" src="http://fringefocus.com/wp-content/uploads/2010/03/slide7.jpg" alt="CSS Sprites Slide 7" width="492" height="68" /></p>
<p><strong>6.</strong> In this case, adding 3 pixels to the bottom of each row did the trick. If your links have added hover effects, just be sure to include extra space in the sprite so that the corresponding normal link is the same size. That&#8217;s true for both horizontal and vertical space.</p>
<p style="text-align: center;"><img class="size-full wp-image-170 aligncenter" title="CSS Sprites Slide 8" src="http://fringefocus.com/wp-content/uploads/2010/03/slide8.jpg" alt="CSS Sprites Slide 8" width="423" height="68" /></p>
<p><strong>7. </strong>Now you can eliminate the negative space in your image. This slightly decreases your file size, but more importantly it makes the bit of math we&#8217;ll do in the CSS much easier. You won&#8217;t have to count the pixels in between the margins of your sprite if you simply line everything up next to each other. The amount of background-position shifting will simply equal the width of the previous link! <em>That was the most boring statement to ever warrant an exclamation point.</em></p>
<pre><code>.______ {
display:block;
height:__px;
background-image:url(______);
margin__:__px;
float:____;
}

.nav {
display:block;
height:24px;
background-image:url(img/navsprite.png);
margin-left:24px;
float:left;
}</code></pre>
<p><strong>8.</strong> The first CSS class you need to write is your parent class. This is the main class that holds all of the similar properties for your navigation. In my case, all of my links are 24 pixels high with a margin of 24px between them. The margin might not be necessary depending on how you styled your links, but in this scenario a quick &#8216;margin-left&#8217; will work. The background image will obviously be the same for all of our links (that&#8217;s the whole point), and the &#8216;display&#8217; block is simply used because we will be defining a height and width to each of our links.</p>
<pre><code>.______ {
width:__px;
background-position:__px __px;
}

.home {
width:68px;
background-position:0px 0px;
}</code></pre>
<p><strong>9.</strong> The second class you need to write applies to the individual link itself. You&#8217;ll need to write one for each link in your navigation, as well as another for each hover state (which we&#8217;ll get to in a moment). In this case the &#8216;home&#8217; link has a width of 68 pixels. The &#8216;background-position&#8217; refers to the point that the background-image will begin to display from. Since &#8216;home&#8217; is in the upper-left, both the x-axis (horizontal) and y-axis (vertical) will start at 0 pixels.</p>
<pre><code>.home {
width:68px;
background-position:0px 0px;
}
.about {
width:81px;
background-position:-68px 0px;
}
.pterodactyl {
width:165px;
background-position:-149px 0px;
}
.contact {
width:109px;
background-position:-314px 0px;
}</code></pre>
<p><strong>10.</strong> As you can see, all 4 links now have their own widths. You can measure the width of each link with your ruler tool. The key here is that each subsequent link is being shifted by a negative number on the x-axis. On the &#8216;about&#8217; link, it&#8217;s essentially telling the background to start 68 pixels deep into the image (where the &#8216;about&#8217; link just happens to start in the sprite).</p>
<p><em><strong>Note:</strong> Remember that the background-position is cumulative. You must add the measurement of each previous link each time you enter in the position for the next. In this case 68 pixels and 81 pixels is 149 pixels.  Then the &#8216;pterodactyl&#8217; link is quite wide, another 165 pixels, meaning our &#8216;contact&#8217; link&#8217;s x-axis position starts at -314 pixels. <strong>It&#8217;s only addition (or subtraction), but a mistake in one early link will mess up the math for all your subsequent links. So double-check frequently!</strong></em></p>
<pre><code>.home:hover {
background-position:0px -24px;
}
.about:hover  {
background-position:-68px -24px;
}
.pterodactyl:hover  {
background-position:-149px -24px;
}
.contact:hover  {
background-position:-314px -24px;
}</code></pre>
<p><strong>12. </strong>To create a &#8216;hover&#8217; state for your link, simply copy the class and add &#8216;:hover&#8217; after the class name. It&#8217;s unnecessary to repeat the &#8216;width&#8217; property. Because all of the hover links are directly under the normal links, the y-axis shift is the same as the link height: 24 pixels. It&#8217;s a lot simpler here, as you can just paste that in over and over again.</p>
<pre><code>.nav {
display:block;
height:24px;
background-image:url(img/navsprite.png);
margin-left:24px;
float:left;
}

.home {width:68px;background-position:0px 0px;}
.about {width:81px;background-position:-68px 0px;}
.pterodactyl {width:165px;background-position:-149px 0px;}
.contact {width:109px;background-position:-314px 0px;}

.home:hover {background-position:0px -24px;}
.about:hover {background-position:-68px -24px;}
.pterodactyl:hover  {background-position:-149px -24px;}
.contact:hover  {background-position:-314px -24px;}</code></pre>
<p><strong>13.</strong> Here&#8217;s the completed CSS for the example. All that&#8217;s left is to add the links themselves into the HTML.</p>
<pre>&lt;a class="nav home"&gt;&lt;/a&gt;
&lt;a class="nav about"&gt;&lt;/a&gt;
&lt;a class="nav pterodactyl"&gt;&lt;/a&gt;
&lt;a class="nav contact"&gt;&lt;/a&gt;</pre>
<p><strong>14.</strong> Simply apply both the parent and child classes to each link. In this case &#8216;nav&#8217; and &#8216;home&#8217;, or &#8216;nav&#8217; and &#8216;pterodactyl&#8217; etc.</p>
<p><strong>You just learned something! Specifically, how the CSS sprite technique works, why it is used, and how to create a slick, efficient navigation out of it. Go get yourself a drink. Or get me one, this baby was looonnng.</strong></p>
<p><strong>Give me your thoughts on this technique in the comments!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://fringefocus.com/2010/tutorial/css-sprites-theyre-awesome-use-them/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Less Janky — How to Stop Banding in Your Images</title>
		<link>http://fringefocus.com/2010/tutorial/less-janky-%e2%80%94-how-to-stop-banding-in-your-images</link>
		<comments>http://fringefocus.com/2010/tutorial/less-janky-%e2%80%94-how-to-stop-banding-in-your-images#comments</comments>
		<pubDate>Fri, 19 Feb 2010 00:52:41 +0000</pubDate>
		<dc:creator>Rob Loukotka</dc:creator>
				<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[banding]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[eliminate]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[posterization]]></category>
		<category><![CDATA[remove]]></category>
		<category><![CDATA[stop]]></category>

		<guid isPermaLink="false">http://fringefocus.com/?p=109</guid>
		<description><![CDATA[Banding is one of the universal annoyances that every designer has to deal with.  Although it&#8217;s certainly more common among web designers, banding has also given plenty of headaches to print designers and photographers. Banding is a newer problem; unique to the digital realm, as old-school methods of photography and publishing weren&#8217;t limited to the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-117" title="Remove Banding - Title" src="http://fringefocus.com/wp-content/uploads/2010/02/title_banding.jpg" alt="Remove Banding - Title" width="540" height="237" /></p>
<p>Banding is one of the universal annoyances that every designer has to deal with.  Although it&#8217;s certainly more common among web designers, banding has also given plenty of headaches to print designers and photographers. Banding is a newer problem; unique to the digital realm, as old-school methods of photography and publishing weren&#8217;t limited to the digital color space. As the problem and its causes have only been recently defined, many designers may lack the techniques necessary to combat this subtle and tricky problem. If you&#8217;re not familiar with the term or are sick of reading this sentence, let&#8217;s cut to an image.</p>
<p><strong>Some Banding in Action due to Compression:</strong></p>
<p><img class="alignnone size-full wp-image-111" title="Remove Banding - Slide 1" src="http://fringefocus.com/wp-content/uploads/2010/02/slide12.jpg" alt="Remove Banding - Slide 1" width="540" height="237" /></p>
<p>This is an overly exaggerated example of banding effects on a photo I took.  In the compressed version on the right, the sky doesn&#8217;t contain enough blues to portray a smooth transition. This is because the compressed version is trying to save space by limiting the number of colors used.  This actually works really well in the building section of the photograph because our eyes don&#8217;t pick up on subtle brightness changes when looking at busy or high-contrast areas. It&#8217;s only when the color jumps from &#8220;Slightly Light Blue&#8221; to &#8220;Slightly Less Light Blue&#8221; that we really notice.</p>
<p>It&#8217;s as if the compression algorithm thought <em>&#8220;Hey man, that looks like solid blue. Six colors ought to cover it&#8211;done!</em>&#8221; Idiot.</p>
<p>While compression is a common cause of banding, it&#8217;s important to remember that all digital images share this property of stepping harshly from one color to the next.  Indeed, each pixel is its own little square, not blending with any pixels around it. Fortunately pixels are much too small for our eyes to detect that stepping.  It&#8217;s only when compressors force similar areas of color into much larger groups that we pick up on the changes.</p>
<p><strong> Banding with the Gradient Tool:</strong></p>
<p><strong><img class="alignnone size-full wp-image-115" title="Remove Banding - Slide 2" src="http://fringefocus.com/wp-content/uploads/2010/02/slide22.jpg" alt="Remove Banding - Slide 2" width="540" height="237" /></strong></p>
<p>The gradient on the left side was created by picking two colors and fading them together with Photoshop&#8217;s gradient tool. The gradient on the right side only used one color, and simply faded itself from 100% to 0% opacity.  Obviously they both achieve very similar results, and perhaps that&#8217;s why most designers may use the techniques interchangeably. If you look very closely, however, the gradient on the right actually shows some harsh stepping from one shade to the next.</p>
<p>Add some levels adjustments, and you can really see the difference:</p>
<p><img class="alignnone size-full wp-image-116" title="Remove Banding - Slide 3" src="http://fringefocus.com/wp-content/uploads/2010/02/slide32.jpg" alt="Remove Banding - Slide 3" width="540" height="237" /></p>
<p>The good news is that Photoshop&#8217;s gradient tool handles gradients pretty well with multiple colors.  Photoshop does the math and immediately rasterizes the outcome.  Through a combination of dithering and subtle noise the fade is rendered pretty smoothly.  You can even hit the levels or curves adjustments later and it looks decent.  The gradient on the right, however, didn&#8217;t have two colors that Photoshop could do the math for, so no dithering or noise could be applied.  Without knowing what color it would be fading to, it simply renders the gradient in bands ranging from 100% opacity to 0% opacity.</p>
<p><strong>Noise is the Solution! Sometimes&#8230;</strong></p>
<p>The solution that is often thrown about is &#8220;Add a bunch of noise dude!&#8221;. While it&#8217;s true that adding noise to break up the bands is effective, you have to be careful that you aren&#8217;t bringing a bazooka to a knife fight. Adding too much noise unnecessarily will degrade your image and take clarity out of your highlights and shadows.</p>
<p><strong>Fix #1 &#8211; Use Two Color Gradients</strong></p>
<p>To prevent banding while using Photoshop&#8217;s gradient tool, always use at least two colors. Fading a single color to transparency will not yield pretty results.  If you absolutely must fade a color to transparency, make sure the gradient is small, or that the range of color difference in the gradient is high.  It&#8217;s the long and subtle gradients that cause problems.</p>
<p><strong>Fix #2 &#8211; Use Noise in One Channel</strong></p>
<p>If you&#8217;re experiencing banding when compressing or saving your images, you may want to add noise to prevent noticeable stepping.  If you want to do this without harming ALL of your color data try applying noise to only one channel&#8211;ideally, the channel where the most banding is occurring.</p>
<p>1. Select the &#8216;Channels&#8217; tab next to your layers palette.</p>
<p>2. Click on a color channel.  Perhaps red if you have banding in a sunset photo, or blue if there&#8217;s banding in a bright blue sky.  Choose whichever channel works best in your situation.</p>
<p>3. Choose Filter &gt; Noise &gt; Add Noise. Check &#8216;Gaussian&#8217; as the distribution format. Choose 1-2% as the amount, as you can always add more noise later if necessary.</p>
<p>Save your image out as you did before, and ideally this method should have decreased your level of banding.</p>
<p><strong>Fix #3 &#8211; Use Noise in Another Layer</strong></p>
<p>If you absolutely need to maintain a lot of integrity in your photo, but still need to remove banding in some area, try adding the noise to its own layer.</p>
<p>1. Create a new layer and fill it with 50% gray.  That&#8217;s about #808080 if you&#8217;re working in RGB.</p>
<p>2. Place this layer above the image you&#8217;re adding noise to. In the layers palette, choose &#8216;Overlay&#8217; as the blending mode.</p>
<p>3. Add noise to this gray layer, 2-3% should suffice.</p>
<p>You&#8217;ll notice that the noise does not affect any very bright or dark areas of your image.  Because the noise is in &#8216;Overlay&#8217; mode, you&#8217;re free to crank up the noise as high as needed, without destroying the quality of your highlights or shadows.</p>
<p>Another benefit to having the noise in its own layer is that you can use your eraser tool to remove noise from areas where it is not needed.  You could even take one step further, creating a complex mask and applying it to the noise layer, giving you full control over which areas are affected.</p>
<p><strong>No More Banding!</strong></p>
<p>Hopefully some of these ideas got rid of your nasty banding issues.  <strong>If you have any other tips or tricks to solve this problem, drop me a line in the comments.</strong></p>
<p><strong>Other Resources to Regarding Banding:</strong></p>
<p>Wikipedia &#8211; <em><a href="http://en.wikipedia.org/wiki/Posterization">Posterization</a></em></p>
<p>Greyscale Gorilla &#8211; <em><a href="http://greyscalegorilla.com/blog/2009/10/how-to-remove-banding-artifacts-in-after-effects/">How to Remove Banding Artifacts in After Effects</a></em></p>
<p><strong><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://fringefocus.com/2010/tutorial/less-janky-%e2%80%94-how-to-stop-banding-in-your-images/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Watch a Design Fail Ten Times in a Row</title>
		<link>http://fringefocus.com/2010/web-design/watch-a-design-fail-ten-times-in-a-row</link>
		<comments>http://fringefocus.com/2010/web-design/watch-a-design-fail-ten-times-in-a-row#comments</comments>
		<pubDate>Mon, 15 Feb 2010 07:30:59 +0000</pubDate>
		<dc:creator>Rob Loukotka</dc:creator>
				<category><![CDATA[Fringe Focus]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[goals]]></category>
		<category><![CDATA[method]]></category>
		<category><![CDATA[personal work]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://fringefocus.com/?p=77</guid>
		<description><![CDATA[Even though this website was launched only very recently, I&#8217;ve gotten a lot of positive feedback on its look. I&#8217;m relatively happy with it as well, but that was no easy task. If any of you have ever worked on a personal project, you&#8217;ve probably already learned that you are your own worst client. When [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-90" title="Design Fail" src="http://fringefocus.com/wp-content/uploads/2010/02/slidetop.jpg" alt="Design Fail" width="540" height="254" /></p>
<p>Even though this website was launched only very recently, I&#8217;ve gotten a lot of positive feedback on its look. I&#8217;m relatively happy with it as well, but that was no easy task. If any of you have ever worked on a personal project, you&#8217;ve probably already learned that you are your own worst client. When you have no deadlines, no rules, and a huge imagination, it can be pretty tough to settle on your final look. You might start on one design in the morning only to immediately throw it away and start from scratch that afternoon. This post is dedicated to all of my wasted ideas and productivity, and hopefully some tips on how you can avoid a similar situation in the future.</p>
<p><strong>Start With a Brief, Don&#8217;t Be an Idiot</strong></p>
<p>One way to avoid an insane amount of redesigns is to treat yourself like your own client.  What are your goals, what is your target market, your intended &#8216;look &amp; feel&#8217; ? If you start with a vague idea like &#8216;Website about art something&#8217;, you may find yourself spending days and weeks on projects that will never see the light of day. I believe I started on the right track by thinking about my goals. Here are some key ideas/features I knew I wanted:</p>
<ul>
<li>Full WordPress integration. I wanted to handle all of my content, including my portfolio, quickly and easily from any location.</li>
<li>A slick &amp; memorable design that was still easy to read.</li>
<li>Black and yellow. Like Batman. Seriously.</li>
<li>Community features. This means a quick and easy way to comment on posts, because it&#8217;s fun to talk to my readers. It also helps me avoid sitting alone in my apartment and talking to my food.</li>
<li>Integrate my design portfolio.</li>
<li>Any name that&#8217;s better than &#8216;Loukotka&#8217;, yet felt design related.  You&#8217;d be surprised how many Google searches spell my name wrong, so this site is meant to be easy to remember and spell.</li>
</ul>
<p>The problem was that my goals changed over time, and I should have stuck to these principles instead of designing away like a mad man. There&#8217;s plenty more ideas I could list, but let&#8217;s get to what&#8217;s important—images of all of the designs I didn&#8217;t use or show anybody, because I went insane and couldn&#8217;t settle on the right look.</p>
<p><img class="alignnone size-full wp-image-78" title="Design Fail - Slide 1" src="http://fringefocus.com/wp-content/uploads/2010/02/slide11.jpg" alt="Design Fail - Slide 1" width="540" height="331" /></p>
<p>A few months ago this was my first attempt at a design thought. I started blocking out areas of yellow or black, but immediately discarded everything because an all yellow website would be pretty tough to read.</p>
<p><a href="http://fringefocus.com/wp-content/uploads/2010/02/slide21.jpg"><img class="alignnone size-full wp-image-79" title="Design Fail - Slide 2" src="http://fringefocus.com/wp-content/uploads/2010/02/slide21.jpg" alt="Design Fail - Slide 2" width="540" height="257" /></a></p>
<p>This was an experiment with a minimalist look for my portfolio, but I quickly realized that dark and empty weren&#8217;t at all how I wanted my new site to feel.</p>
<p><img class="alignnone size-full wp-image-80" title="Design Fail - Slide 3" src="http://fringefocus.com/wp-content/uploads/2010/02/slide31.jpg" alt="Design Fail - Slide 3" width="540" height="222" /></p>
<p>Now we&#8217;re getting somewhere. This design borrows the background and name of my other website, Loukotka.com.t the time, my portfolio website was green and white, so I found this color change refreshing. Ultimately this felt too much like a showcase and less like a blog or valuable news source. This version was scrapped for the blog, but I used its ideas in the current version of <a href="http://www.loukotka.com" target="_blank">Loukotka.com</a>.</p>
<p><img class="alignnone size-full wp-image-81" title="Design Fail - Slide 4" src="http://fringefocus.com/wp-content/uploads/2010/02/slide41.jpg" alt="Design Fail - Slide 4" width="540" height="364" /></p>
<p>Another radical shift in thought. I was definitely digging the white with the yellow, but still felt the horizontal slide areas would only work for a portfolio, and not for an interactive blog. I even decided on the name &#8220;Neverlens&#8221;. I bought the domain, only to trash this name much later due to its similarities to &#8220;Neverland&#8221; and &#8220;Netherlands&#8221;. Oops.</p>
<p><img class="alignnone size-full wp-image-82" title="Design Fail - Slide 5" src="http://fringefocus.com/wp-content/uploads/2010/02/slide52.jpg" alt="Design Fail - Slide 5" width="540" height="262" /></p>
<p>I stuck with the name for a while and eventually continued down the &#8220;yellow brick road&#8221;. This version was grungy, and incredibly yellow. This certainly was memorable and open, so I explored it further. This is also the first design that actually contains some element of the current site (a small sliver of the textured header bar).</p>
<p><img class="alignnone size-full wp-image-83" title="Design Fail - Slide 6" src="http://fringefocus.com/wp-content/uploads/2010/02/slide61.jpg" alt="Design Fail - Slide 6" width="540" height="227" /></p>
<p>This design probably had more time put into it than any of my other trashed designs, and for good reason.  It&#8217;s strong, memorable, and edgy. My &#8216;home&#8217; icon had a picture of the White House, and I had a really slick typewriter for my &#8216;need work done?&#8217; link. For a while I was in love with this, but sometimes designs have to be scrapped because they don&#8217;t complete your goals.  This was visually interesting, but I felt like the strong colors and silly icons made the site feel like it was advertising itself.  This structure works great for a company, but if I added blog posts to the design, they&#8217;d have to compete with my own header for attention. I realized I had to give my written content a lot more focus.</p>
<p><img class="alignnone size-full wp-image-84" title="Design Fail - Slide 7" src="http://fringefocus.com/wp-content/uploads/2010/02/slide71.jpg" alt="Design Fail - Slide 7" width="540" height="195" /></p>
<p>I toned down the colors to a cool-gray. This certainly would help give focus to the written content, but I still didn&#8217;t want the structure of my site to be dictated by its textures. The background looks great, but it was quite large and would still compete with everything I was going to write.  I want to go to a blog to read articles, not to stare at a stone wall.  At least, that was my logic at the time.</p>
<p><img class="alignnone size-full wp-image-85" title="Design Fail - Slide 8" src="http://fringefocus.com/wp-content/uploads/2010/02/slide81.jpg" alt="Design Fail - Slide 8" width="540" height="252" /></p>
<p>I knew I was getting close here. This design gave a lot of weight to the logo, but still allowed the reader to easily jump over to reading the post.  You could navigate easily, read easily, and it still had some &#8216;batman&#8217; feel with the logo.  That said, I was still mourning the loss of my previous designs, and knew I needed a little texture to bring it to life.</p>
<p><img class="alignnone size-full wp-image-87" title="Design Fail - Slide 9" src="http://fringefocus.com/wp-content/uploads/2010/02/slide9.jpg" alt="Design Fail - Slide 9" width="540" height="268" /></p>
<p>The name Fringe Focus is born. It&#8217;s easy to say, spell, and remember. But the site was feeling a bit too black and white—where&#8217;s my yellow?</p>
<p><img class="alignnone size-full wp-image-88" title="Design Fail - Slide 10" src="http://fringefocus.com/wp-content/uploads/2010/02/slide10.jpg" alt="Design Fail - Slide 10" width="540" height="254" /></p>
<p>Yeah, that&#8217;s it.</p>
<p><strong>Have Hope, You&#8217;ll Finish it Some Decade.</strong></p>
<p>Obviously seeing this many redesigns might not be the most inspiring moment, but I assure you there is an end in sight. If you&#8217;ve redesigned something a million times, take a moment to step back and look at those designs collectively (assuming you&#8217;re saving all of them, as you should be).  Identify the traits you like in all of them, and eliminate whatever seems to be bringing them all down.  In my case, it was that I hadn&#8217;t made my content the focus of the design.  In your case, it could be anything.  Your designs could be too bold, too timid, too warm, too cold, too crowded, too open, red fish, blue fish. Yes, that&#8217;s a Dr. Suess reference.</p>
<p>Even better, have your friends or other designers take a look at your past attempts.  Perhaps they will see the value in something you previously wanted to throw away.</p>
<p><strong>In the End, It&#8217;s About Goals</strong></p>
<p>If you spend all of your time randomly designing, hoping you&#8217;ll magically hit the right look, it may never happen.  Break out the paper, or the text editor, and write down what it is that you&#8217;re really after. Make your next design meet all of these goals (it is possible), and make yourself a drink with an umbrella in it.  You&#8217;re done.</p>
]]></content:encoded>
			<wfw:commentRss>http://fringefocus.com/2010/web-design/watch-a-design-fail-ten-times-in-a-row/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Invisible Design &#8211; How to Optimize Your Transparent .PNGs</title>
		<link>http://fringefocus.com/2010/tutorial/invisible-design-how-to-optimize-your-transparent-pngs</link>
		<comments>http://fringefocus.com/2010/tutorial/invisible-design-how-to-optimize-your-transparent-pngs#comments</comments>
		<pubDate>Fri, 12 Feb 2010 01:05:42 +0000</pubDate>
		<dc:creator>Rob Loukotka</dc:creator>
				<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[8-bit]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[gif]]></category>
		<category><![CDATA[invisible]]></category>
		<category><![CDATA[optimize]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[transparent]]></category>

		<guid isPermaLink="false">http://fringefocus.com/?p=52</guid>
		<description><![CDATA[If you&#8217;ve designed a website in the past decade (I know, there aren&#8217;t many decades to choose from), then you&#8217;ve probably run across a situation where you needed an image with transparency. Perhaps you need to see the background through the image, or the image has gaps that need to be transparent. Even more often, [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-63" title="Fringe Focus Transparent Slide 5" src="http://fringefocus.com/wp-content/uploads/2010/02/slide5.jpg" alt="Fringe Focus Transparent Slide 5" width="540" height="237" /></p>
<p>If you&#8217;ve designed a website in the past decade (I know, there aren&#8217;t many decades to choose from), then you&#8217;ve probably run across a situation where you needed an image with transparency.  Perhaps you need to see the background through the image, or the image has gaps that need to be transparent.  Even more often, you&#8217;ll have a relatively solid image, but with complex edges that simply won&#8217;t work in a big rectangular JPEG.  Logos and other design elements that might move when the browser window is resized, often need transparent edges to look right no matter where they are on the page.  Fortunately all of these problems, as you may know, have already been solved with the development of the .PNG image format.</p>
<p>So we&#8217;re done!  No tips, no tutorial, PNGs have saved the day!  Not exactly.</p>
<p><strong>The Pros of the PNG</strong></p>
<ul>
<li>Full range of opacity (0%-100%)</li>
<li>Full range of color (16.7 Million, anyway)</li>
</ul>
<p><strong>The Dirty Secrets (Cons) of the PNG</strong></p>
<ul>
<li>Relatively large file size</li>
<li>Doesn&#8217;t support blending modes</li>
<li>Doesn&#8217;t work in IE6 (If you care about that ugly monster)</li>
</ul>
<p>These points only apply to 24-bit PNGs, as 24-bit PNGs are the only common format to allow full alpha transparency.  Its younger brother, the 8-bit PNG, doesn&#8217;t share the same problems (but only supports binary transparency).</p>
<p><strong>Whoa, alpha binary what? Bit? Slow down Star Trek!</strong></p>
<p><em>Alpha transparency</em>, in short, is the kind of transparency you&#8217;re used to in Photoshop.  There are varying degrees of opacity, that are all mapped in an alpha channel, those black and white images in your channels palette.  PNGs include an alpha channel, so any given pixel in the image can be any given opacity (0%, 32%, 99%, etc.).  This is great for shadows, glows, or anything translucent.</p>
<p><em>Binary transparency</em>, is when robots are invisible.  Actually, it&#8217;s what it sounds like.  Binary means you have two options: 1 or 0, on or off.  The same goes for the opacity in a binary transparent image.  A pixel is either 100% visible, or totally off.  8-bit PNGs, and GIFs support this simple level of transparency.</p>
<p>Lastly, we won&#8217;t get into too much math here, but 24-bit ultimately means the image contains the full range of color data for all 3 color channels.  8 bits of red, 8 bits of blue, 8 bits of green.  Add that up, and you can see why it&#8217;s 24-bit.  8-bit image formats only support 256 colors, while 24-bit image formats can support 16.7 million.</p>
<p><strong>Problems with your 24-bit PNGs</strong></p>
<p>Obviously full alpha-transparency has its benefits in web design.  But with great awesomeness, comes great file sizes. Alpha transparent PNGs are often three or four times larger than their binary counterparts.  If your logo, borders, backgrounds, and sprites are all huge 24-bit PNGs, loading times can get slow&#8230; fast.  While internet speeds are increasing, and this may not seem like a problem, the speeds on mobile phones, netbooks, and 3G wireless networks aren&#8217;t quite there yet.</p>
<p>Additionally, it is rarely the case that alpha transparency on its own will solve our design problems.  With all of the beautiful uses for the overlay, screen, or multiply blending modes (to name a few)&#8230; simply having an image at 50% opacity might seem a little boring.</p>
<p><strong>Old School 8-bit to the rescue!</strong></p>
<p>While alpha transparency is definitely helpful in some cases, let me show you my process for making 8-bit PNGs or GIFs look just as good, at smaller sizes.</p>
<p><img class="alignnone size-full wp-image-59" title="FF Transparent Slide 1" src="http://fringefocus.com/wp-content/uploads/2010/02/slide1.jpg" alt="Fringe Focus Transparent Slide 1" width="540" height="237" /></p>
<p>Let&#8217;s say you wanted a logo to appear on top of a grungy background like the above image. We have a logo with blurred edges, that needs to show strong detail behind it. A 24-bit PNG would certainly do the trick, but we can show all of that detail in an 8-bit PNG or GIF with a few simple steps.</p>
<p><img class="alignnone size-full wp-image-60" title="Fringe Focus Transparent Slide 2" src="http://fringefocus.com/wp-content/uploads/2010/02/slide2.jpg" alt="Fringe Focus Transparent Slide 2" width="540" height="237" /></p>
<p><strong>1.</strong> Turning off your background layer, your first assumption would be that this image couldn&#8217;t possibly work with binary, jagged edges.  Let&#8217;s try&#8230;</p>
<p><a href="http://fringefocus.com/wp-content/uploads/2010/02/slide3.jpg"><img class="alignnone size-full wp-image-61" title="Fringe Focus Transparent Slide 3" src="http://fringefocus.com/wp-content/uploads/2010/02/slide3.jpg" alt="Fringe Focus Transparent Slide 3" width="540" height="237" /></a></p>
<p><strong>2.</strong> Go to File &gt; Save For Web &amp; Devices.  Under presets, choose 8-bit PNG.  Make sure &#8216;Transparency&#8221; is checked.  Then choose a matte color, in this case, black.</p>
<p><img class="alignnone size-full wp-image-62" title="Fringe Focus Transparent Slide 4" src="http://fringefocus.com/wp-content/uploads/2010/02/slide4.jpg" alt="Fringe Focus Transparent Slide 4" width="540" height="237" /></p>
<p><strong>3. </strong>This is close, but pretty janky.  Even if that black was a little lighter, you&#8217;d still not be able to see all the texture in between the letters.  So let&#8217;s try something better.</p>
<p><img class="alignnone size-full wp-image-63" title="Fringe Focus Transparent Slide 5" src="http://fringefocus.com/wp-content/uploads/2010/02/slide5.jpg" alt="Fringe Focus Transparent Slide 5" width="540" height="237" /></p>
<p><strong>4.</strong> Select the logo layer&#8217;s alpha by Ctrl+Click-ing on that layer (that&#8217;s Cmd+Click on a Mac obviously).  Then copy the merged layers by hitting Shift+Ctrl+C (Shift+Cmd+C for Macs). Open a new file, and paste the merged logo there.</p>
<p><img class="alignnone size-full wp-image-65" title="Fringe Focus Transparent Slide 6" src="http://fringefocus.com/wp-content/uploads/2010/02/slide6.jpg" alt="Fringe Focus Transparent Slide 6" width="540" height="237" /></p>
<p><strong>5.</strong> Now that the merged file is pasted here, you can see that some of that background data was pulled.  But simply saving the image with no matte would still cause problems, so we first have to bring all of the opacity up to 100%.  Do this by Alt+Click-ing on your logo layer and dragging up or down.  This creates a duplicate of your layer.   Now that you have two copies, select both of the layers by Shift+Click-ing on each of them, and then merge them by hitting Ctrl+E (or Cmd+E).  You now have one slightly more opaque version of what you had before.  Repeat this process four or five times.  Duplicating, merging, duplicating, merging, duplicating, merging until you see that the image is 100% opaque.</p>
<p><img class="alignnone size-full wp-image-68" title="Fringe Focus Transparent Slide 7" src="http://fringefocus.com/wp-content/uploads/2010/02/slide7.jpg" alt="Fringe Focus Transparent Slide 7" width="540" height="237" /></p>
<p><strong>6. </strong>Your image should now have a janky, but detail rich fringe matte (no pun intended). Go ahead and save it out as a transparent 8-bit PNG, or even a GIF if that floats your boat.  Keep in mind 8-bit PNGs generally have smaller file sizes than GIFs.</p>
<p><img class="alignnone size-full wp-image-69" title="Fringe Focus Slide 8" src="http://fringefocus.com/wp-content/uploads/2010/02/slide8.jpg" alt="Fringe Focus Slide 8" width="540" height="237" /></p>
<p><strong>7. </strong>Voila! You now have a relatively tiny, 8-bit PNG looking just as sexy as its 24-bit counterpart.  Of course, this technique only works if your background stays stationary, but if your background was a horizontal or vertical gradient, then these steps would still work.</p>
<p>Go ahead and try this with your navigation menus, sprites, or borders.  It can save countless kilobytes!</p>
<p><strong>If you have any additional tips, ideas, or thoughts about image transparency, drop me a line in the comments.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://fringefocus.com/2010/tutorial/invisible-design-how-to-optimize-your-transparent-pngs/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

