<?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>Scott Blaine &#187; design</title>
	<atom:link href="http://scottblaine.com/category/design/feed" rel="self" type="application/rss+xml" />
	<link>http://scottblaine.com</link>
	<description>Omaha web developer</description>
	<lastBuildDate>Wed, 12 Oct 2011 01:00:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>The HTML and CSS Behind Google&#8217;s Search Bar</title>
		<link>http://scottblaine.com/the-html-and-css-behind-googles-search-bar</link>
		<comments>http://scottblaine.com/the-html-and-css-behind-googles-search-bar#comments</comments>
		<pubDate>Wed, 28 Sep 2011 01:00:15 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[bar]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://scottblaine.com/?p=479</guid>
		<description><![CDATA[Earlier this year I was working on a project that had a text entry box similar to Google&#8217;s. It was a long bar in which you entered a line of text with a button at the end to &#8220;Add&#8221; it (instead of &#8220;Search&#8221;). I really liked Google&#8217;s styling for their search bar and figured I [...]]]></description>
			<content:encoded><![CDATA[<p>Earlier this year I was working on a project that had a text entry box similar to Google&#8217;s. It was a long bar in which you entered a line of text with a button at the end to &#8220;Add&#8221; it (instead of &#8220;Search&#8221;). I really liked Google&#8217;s styling for their search bar and figured I would simply &#8220;lift&#8221; the HTML and CSS for it. However Google&#8217;s HTML source code, if you&#8217;ve ever looked at it, is heavily minimized. Everything is on one line with short, obscure CSS class names like &#8220;gac_v2.&#8221; Great for serving up webpages quickly, not so fun for trying to figure out how they&#8217;re styling their pages. I tried to find a simple &#8220;how to&#8221; for styling something in a similar way, but alas, there was none to be found.</p>
<p>Not to be deterred, I dug into their code, copied the portion I was interested in, removed all of the useless cruft, gave the CSS classes slightly more useful names, and came up with a working version that looked like this:</p>
<p><a href="http://scottblaine.com/blog/wp-content/uploads/2011/04/example-search-bar.png"><img class="alignnone size-full wp-image-481" title="example-search-bar" src="http://scottblaine.com/blog/wp-content/uploads/2011/04/example-search-bar.png" alt="" width="396" height="54" /></a></p>
<p>That should look rather familiar to you.</p>
<p>Seeing as I couldn&#8217;t find anything on the Intertubes for this (and I&#8217;m probably not the only one) I thought it might be helpful to share the HTML and CSS code for this &#8212; there&#8217;s also one image which is used as a gradient background for the search button (entirely optional; it just makes it look nice). If you find this useful leave a comment and let me know.</p>
<p>Right click and Save as:</p>
<ul>
<li><a href="http://scottblaine.com/blog/wp-content/uploads/2011/04/google-search-bar-example.html">HTML with embedded CSS</a></li>
<li><a href="http://scottblaine.com/blog/wp-content/uploads/2011/04/btn-bg.png">Image file (background image for button)</a></li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://scottblaine.com/the-html-and-css-behind-googles-search-bar/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I won the Zappos developer contest</title>
		<link>http://scottblaine.com/i-won-the-zappos-developer-contest</link>
		<comments>http://scottblaine.com/i-won-the-zappos-developer-contest#comments</comments>
		<pubDate>Tue, 03 May 2011 02:37:05 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[contest]]></category>
		<category><![CDATA[luck]]></category>
		<category><![CDATA[winning]]></category>
		<category><![CDATA[zappos]]></category>

		<guid isPermaLink="false">http://scottblaine.com/?p=507</guid>
		<description><![CDATA[Recently I had the good fortune of winning $1000 and being featured in the local news. Here&#8217;s how it happened. In the middle of March I was doing some research for a blog post and I came across a contest that Zappos was running. I had recently decided that I was spending too much time [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I had the good fortune of winning $1000 and being featured in the local news. Here&#8217;s how it happened.</p>
<p>In the middle of March I was doing some research for a blog post and I came across <a title="First Zappos Developer Contest" href="http://developer.zappos.com/blog/first-zappos-developer-contest">a contest that Zappos was running</a>. I had recently decided that I was spending too much time building web apps for $0/hour, so I almost didn&#8217;t enter, but I had an idea that I thought I could pull off without investing too much time. My intent was to build something that was fairly simple but very polished.</p>
<p>I spent a couple weeks (about 40 hours total) throwing together <a title="Outfit Her" href="http://outfither.antifantastic.com/">an app</a> in my spare time. I thought my app was good, but I&#8217;ve entered contests like this before where the entrants pour lots of time into it and produce something really stellar. So it was much to my surprise that I ended up <a title="Zappos Developer Contest Winners" href="http://developer.zappos.com/blog/first-developer-contest-winners">winning the top prize</a> in the contest (a cool $500 cash plus a $500 gift certificate to Zappos). That alone was enough to make building the app worth my while, but what happened next was even better.</p>
<p>Shortly after I won I posted a quick <a title="My &quot;I won the Zappos contest&quot; tweet" href="http://twitter.com/#!/blaisco/status/59639026063392768">tweet</a> about it. I have some folks from the Silicon Prairie News as followers and my tweet led to me getting an interview request. I wrote up some answers (reviewed by my wife, thanks!) and <a title="Omaha Developer Wins Zappos API Challenge" href="http://www.siliconprairienews.com/2011/04/omaha-developer-wins-zappos-api-challenge">they posted an article about it</a> the following day. That article was then mentioned in the weekly <a title="PrairieCast with Ben Milne and Drew Larson" href="http://www.siliconprairienews.com/2011/04/prairiecast-with-ben-milne-and-drew-larson-video">PrairieCast postcast</a> (starting at 21:00). I was also contacted by several people who read the article about projects that they wanted my help on.</p>
<p>When I decided to enter the contest in never crossed my mind that it would lead to me being featured on SPN and being offered work. That goes to show though, it is definitely possible to <a title="How to Get a Real Education" href="http://online.wsj.com/article/SB10001424052748704101604576247143383496656.html?mod=WeekendHeader_Right">attract</a> <a title="How To Make Your Own Luck" href="http://www.fastcompany.com/magazine/72/realitycheck.html">luck</a>. You don&#8217;t know how that luck will manifest itself, but it will. Do cool stuff, be social, and luck will find you.</p>
<blockquote><p>Regarding &#8220;Attracting Luck&#8221;: it sounds like a value-free bromide, but it really does work. I&#8217;m not a social butterfly by nature, but I force myself to go out and network. It blows my mind how effective that is, because there exists someone with the ability to give you what you want just by saying &#8220;Yeah, sure&#8221; and that is 1000000000x more likely to happen after you have asked him for it in person versus happening spontaneously. (Ditto hearing, e.g., &#8220;You do SEO consulting? What a coincidence, we need that. Send us a proposal.&#8221;, &#8220;You made what? That&#8217;s interesting. I have someone you should get a coffee with.&#8221;, etc)<br />
-<a title="MicroISV on a Shoestring" href="http://www.kalzumeus.com/">Patrick McKenzie </a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://scottblaine.com/i-won-the-zappos-developer-contest/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Image-free tabs with clean CSS</title>
		<link>http://scottblaine.com/image-free-tabs-with-clean-css</link>
		<comments>http://scottblaine.com/image-free-tabs-with-clean-css#comments</comments>
		<pubDate>Sun, 30 Aug 2009 01:00:17 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[tabs]]></category>

		<guid isPermaLink="false">http://scottblaine.com/?p=370</guid>
		<description><![CDATA[It&#8217;s slightly amazing to me how hard it is to find someone that has image-free tabs that have clean CSS. I found a lot of articles on sliding-door tabs (requiring images) and a few articles that required CSS for each individual tab (yuck!). And what I wanted wasn&#8217;t even complex: Simple, right? I sure wasn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s slightly amazing to me how hard it is to find someone that has image-free tabs that have clean CSS. I found a lot of articles on sliding-door tabs (requiring images) and a few articles that required CSS for each individual tab (yuck!). And what I wanted wasn&#8217;t even complex:</p>
<p><a href="http://scottblaine.com/blog/wp-content/uploads/2009/08/tabs.png"><img class="alignnone size-full wp-image-371" title="tabs" src="http://scottblaine.com/blog/wp-content/uploads/2009/08/tabs.png" alt="tabs" width="260" height="52" /></a></p>
<p>Simple, right? I sure wasn&#8217;t going to go reinvent the wheel by writing my own CSS for them though. Thankfully after searching for a bit I came across <a title="CSS Mini Tabs (the UN-tab, tab)" href="http://www.simplebits.com/bits/minitabs.html">SimpleBits&#8217; Mini Tabs</a>. I didn&#8217;t want mini-tabs, but the HTML and CSS was remarkably clean. Only 4 CSS declarations on a simple HTML list with a class=&#8221;active&#8221; for the current tab. With some modification to the CSS I was able to come up with tabs that looked like the above (even looks good in IE7, amazingly).</p>
<p>So, if you want some decent looking/functioning tabs go yank the HTML/CSS from the above link.</p>
]]></content:encoded>
			<wfw:commentRss>http://scottblaine.com/image-free-tabs-with-clean-css/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

