<?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>DesignBash</title>
	<atom:link href="http://www.designbash.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.designbash.com</link>
	<description>web magazine and more...</description>
	<lastBuildDate>Fri, 25 Nov 2011 01:00:03 +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>What is CSS?</title>
		<link>http://www.designbash.com/css/what-is-css/</link>
		<comments>http://www.designbash.com/css/what-is-css/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 06:45:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.designbash.com/?p=342</guid>
		<description><![CDATA[While the average web designer already knows what CSS is, the average internet user might have no idea what this term refers to. In the hopes that budding web designers find this article, I&#8217;ll give a brief explanation about CSS (Cascading Style Sheets) and try to explain, in laymen&#8217;s terms, what it actually is. A [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.designbash.com/css/what-is-css"><img class="size-full wp-image-351 aligncenter" title="what-is-css" src="http://www.designbash.com/wp-content/uploads/2011/11/what-is-css.jpg" alt="What is CSS?" width="500" height="150" /></a></p>
<p>While the average web designer already knows what CSS is, the average internet user might have no idea what this term refers to. In the hopes that budding web designers find this article, I&#8217;ll give a brief explanation about CSS (Cascading Style Sheets) and try to explain, in laymen&#8217;s terms, what it actually is.</p>
<p><span id="more-342"></span></p>
<h3>A Non-Technical Definition</h3>
<p><iframe src="http://rcm.amazon.com/e/cm?lt1=_blank&#038;bc1=F1F7AF&#038;IS2=1&#038;nou=1&#038;bg1=F1F7AF&#038;fc1=333333&#038;lc1=3838BD&#038;t=desbas-20&#038;o=1&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;ref=tf_til&#038;asins=0596527330" style="float: right; width:120px;height:240px; margin: 15px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></p>
<p>Imagine for a moment that you are writing a book. You&#8217;ve spent hours and hours developing a plot, characters, narratives, and other literary devices in the hopes that readers will enjoy your amazing story. You have finally arrived at the point where you would like to publish your <strong>content</strong> for the world to see. For the purposes of this example, we will call this content <strong>HTML</strong>. At the moment it is nothing more than plain, boring, simple text. There are no italics, there are no bolded words, there are no big headlines&#8230; just standard 10 point text.</p>
<p>When you finally send your story over to the book publishers, they read it over and start thinking about the best way of <em>presenting it</em>. Maybe your story should be written on old, torn up pages – or perhaps a more suitable brillent and pristine white finish would be more suitable? Regardless of what they decide, these are questions specifically related to <strong>presentation</strong>, not content. For the purposes of this article, <em>presentation <strong>is</strong> CSS</em>.</p>
<p>As you are probably starting to understand, there is a theoretical division between the content of your story and the presentation. They certainly influence each other, but the words that make up your story have no inherent effect on the aesthetics of your printed book.</p>
<p>The modern web has adopted this philosophy and creates a clear separation of content (HTML) and style (CSS). If you only take one thing away from this entire article, remember that <strong>content is HTML and style is CSS</strong>.</p>
<h3>So what is CSS?</h3>
<p>Now that you have a basic understanding of the division between CSS and HTML, it&#8217;s time to become a little more technical. Take a look at the little HTML snippet below. It contains a few basic tags, but nothing more&#8230;</p>
<pre class="prettyprint">
<code class="html">
&lt;p&gt;
This is a paragraph, with some &lt;strong&gt;bolded content&lt;/strong&gt;.
&lt;/p&gt;
</code>
</pre>
<p>When you look at the above HTML you can see pretty clearly what the author was intending. They wanted a paragraph with some bold text. But it&#8217;s important to realize that when a web browser (eg. Chrome, Firefox, Internet Explorer) reads this HTML, it does not have any idea what the &#8220;strong&#8221; tag actually means. It guesses that you want that text bolded, but it&#8217;s really nothing more than a guess.</p>
<p>Enter CSS. CSS is a way to tell the browser exactly how you would like to <em>style</em> your content. Perhaps within your story, you want all &#8220;strong&#8221; tags to be red instead of bold. Well, with CSS that&#8217;s really really easy:</p>
<pre class="prettyprint">
<code class="css">
/*
* This is CSS!
*/
strong {color: red;}
</code>
</pre>
<p>At the most basic level that&#8217;s all it is. <strong>CSS is just a way to tell the browser how it should present your content to the user</strong>. These days CSS is way more complicated than just bolding text <em>(it&#8217;s used to construct entire layouts)</em>.</p>
<h3>But Wait, there&#8217;s more!</h3>
<p>In the olden days, people used to use HTML to style their content. Originally, HTML contained special tags to make text bold, italic, or even blink. The problem with this method of organization became evident when larger sites started publishing their content. Big sites would have thousands of pages, all written in HTML, with huge numbers of tags that would define how content should look.</p>
<p>This created situations where changing the style of your content would require going through thousands of individual documents, modifying the archaic HTML tags that would force text to be bold. With the adoption of CSS, a big site only needs to change one central file to see the changes across their entire site.</p>
<h3>Where should I start?</h3>
<p>If you actually want to start coding CSS and HTML, then you should take a look at the following resources. They all do a great job of explaining the basics:</p>
<ul>
<li><a href="http://css-tricks.com/">CSS Tricks</a></li>
<li><a href="http://net.tutsplus.com/category/tutorials/html-css-techniques/?tag=basix">Nettuts &#8211; CSS &amp; HTML Basix</a></li>
<li><a href="http://oreilly.com/pub/a/javascript/synd/2002/03/01/css_layout.html">Introduction to CSS Layout</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.designbash.com/css/what-is-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The HTML of HTML 5</title>
		<link>http://www.designbash.com/tutorials/the-html-of-html-5/</link>
		<comments>http://www.designbash.com/tutorials/the-html-of-html-5/#comments</comments>
		<pubDate>Sun, 20 Nov 2011 22:12:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Quickie]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.designbash.com/?p=324</guid>
		<description><![CDATA[As the web continues to move forward, it&#8217;s becoming more and more important to understand (and use) HTML 5 tags. Although most tags are not officially supported in Internet Explorer, there are some great JavaScript libraries out there that allow us to start using HTML5 today! So, before getting to far into your HTML, you&#8217;ll [...]]]></description>
			<content:encoded><![CDATA[<p>As the web continues to move forward, it&#8217;s becoming more and more important to understand (and use) HTML 5 tags. Although most tags are not officially supported in Internet Explorer, there are some great JavaScript libraries out there that allow us to start using HTML5 today!<br />
<span id="more-324"></span></p>
<p>So, before getting to far into your HTML, you&#8217;ll need to drop in a small JavaScript reference to HTML5.js, which &#8220;shims&#8221; in HTML5 support for IE8 and below. It&#8217;s easy enough to do this, just use this little code snippet:</p>
<pre class="prettyprint">
<code class="html">
&lt;!-- If less than IE9, include the HTML5 shim --&gt;
&lt;!--[if lt IE 9]&gt;
&lt;script src="http://html5shim.googlecode.com/svn/trunk/html5.js"&gt;&lt;/script&gt;
&lt;![endif]--&gt;
</code>
</pre>
<p>Alright, now that we&#8217;ve considered older browsers we can get started with some actual HTML5 code. Starting from the very top, we need the doctype. Thankfully, the HTML5 doctype is simple compared to the ones you&#8217;re probably familiar with. Look at the beautiful simplicity of the document below:</p>
<pre class="prettyprint">
<code class="html">
&lt;!DOCTYPE html&gt;
&lt;html&gt;
  &lt;head&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;title&gt;HTML5 Example&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;p&gt;This is a perfectly valid document&lt;/p&gt;
  &lt;/body&gt;
&lt;/html&gt;
</code>
</pre>
<p>Mmmmm, so much nicer than before&#8230;</p>
<h2>What About Self Closing Tags?</h2>
<p>One of the design choices that I really appreciate about HTML5 is the fact that you can optionally self-close tags. I plan to write my code without the self-closing slash, as I find it less noisy, but there is nothing wrong with self closing tags.</p>
<pre class="prettyprint">
<code class="html">
&lt;!-- Totally valid --&gt;
&lt;img src="path/to/img.jpg" alt="valid" /&gt;

&lt;!-- Also perfectly valid (and less noisy) --&gt;
&lt;img src="path/to/img.jpg" alt="valid" &gt;
</code>
</pre>
<h2>HTML5 Semantics</h2>
<p>HTML5 gives us the ability create documents that are incredibly semantic. All the new elements were created with modern websites in mind, as you&#8217;ll see in the examples below:</p>
<pre class="prettyprint">
<code class="html">
&lt;header&gt;
  &lt;h1&gt;Large Title&lt;/h1&gt;
&lt;/header&gt;

&lt;nav&gt;&lt;ul&gt;
  &lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#"&gt;About&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#"&gt;Contact&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/nav&gt;

&lt;section id="content"&gt;
&lt;ul id="posts"&gt;
  &lt;li&gt;&lt;article&gt;
    &lt;h3&gt;Article Title&lt;/h3&gt;
  &lt;/article&gt;&lt;/li&gt;
  &lt;li&gt;&lt;article&gt;
    &lt;h3&gt;Another Article Title&lt;/h3&gt;
  &lt;/article&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/section&gt;

&lt;footer&gt;
  &lt;address&gt;New York, New York/address&gt;
&lt;/footer&gt;
</code>
</pre>
<p>That&#8217;s a very small example of what we can do with this new kind of markup. For a full explanation of all the new tags, checkout the official <a href="http://dev.w3.org/html5/spec/Overview.html">HTML5 specifications</a>. It can be a little dry, but it&#8217;s worth slowly reading over.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designbash.com/tutorials/the-html-of-html-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make a Favicon for your Blog &#8211; An Easy How To&#8230;</title>
		<link>http://www.designbash.com/tutorials/make-a-favicon-for-your-blog-an-easy-how-to/</link>
		<comments>http://www.designbash.com/tutorials/make-a-favicon-for-your-blog-an-easy-how-to/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 20:27:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.designbash.com/?p=303</guid>
		<description><![CDATA[In the world of modern web design, Favicons are considered one of the most important aspects of your website. Although it may only be 16px by 16px, the importance of this icon should not be underestimated. This is the type of polish that puts your site in a whole new league. But really, they are [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.designbash.com/tutorials/make-a-favicon-for-your-blog-an-easy-how-to"><img src="http://www.designbash.com/wp-content/uploads/2010/03/favicon-guide.jpg" alt="" title="favicon-guide" width="500" height="150" class="aligncenter size-full wp-image-319" /></a><br />
In the world of modern web design, Favicons are considered one of the most important aspects of your website. Although it may only be 16px by 16px, the importance of this icon should not be underestimated. This is the type of polish that puts your site in a whole new league.<span id="more-303"></span></p>
<p>But really, they are kinda nice and having one makes your site seem just a little more professional. So today the gloves come off and we&#8217;re going to make a sweet favicon for an application I&#8217;ve been working on.</p>
<h2>But Where do I Start?</h2>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-304" title="new-favicon-psd" src="http://www.designbash.com/wp-content/uploads/2010/03/new-favicon-psd.png" alt="" width="462" height="198" /><br />
The first step I like to take when making a favicon is to create a 16px by 16px Photoshop document &#8211; which is the standard favicon size. For this quick tutorial I already have a nice little logo created &#8211; and I&#8217;ll be using that to make my favicon.</p>
<h2>Keep it Simple, Stupid</h2>
<p>Because there is so little space to work with, it&#8217;s important to keep your favicon as simple as possible. My starting logo is a bit too busy to make into a favicon, plus favicons need to be square &#8211; so what I&#8217;ll probably do is lose the text and use either just the envelope edges and the heart.</p>
<div id="attachment_305" class="wp-caption aligncenter" style="width: 387px"><img class="size-full wp-image-305" title="my-logo-example" src="http://www.designbash.com/wp-content/uploads/2010/03/my-logo-example.png" alt="" width="377" height="196" /><p class="wp-caption-text">My Starting Logo, I&#39;ll be losing the text and keep just the envelope and heart.</p></div>
<h2 style="text-align: left;">Some Playing Around</h2>
<p>After playing around for 10-minutes in Photoshop, I quickly realized that 16-pixels is just too small to preserve the definition of the actual envelope. What I&#8217;ve ended up doing instead is using just the edges (red and blue stripes) of my envelope with a heart in the middle. A couple things I noticed as I did this:</p>
<ol>
<li>When transforming things down in size, <strong>blacks will sometimes become a little too gray and need to be darkened</strong> (using the Photoshop burn tool).</li>
<li>Whatever you end up with, <strong>run the sharpen tool over it a few times</strong>. It really helps clear up any blurry edges that resulted from such a dramatic size reduction.</li>
</ol>
<p>The final result looks something like this:</p>
<h2><img class="aligncenter size-full wp-image-307" title="my-favicon" src="http://www.designbash.com/wp-content/uploads/2010/03/my-favicon.png" alt="cool favicon" width="97" height="58" /></h2>
<h2>Next Up, Turn that PNG into an ICO file&#8230;</h2>
<p>Now comes the easy part. First, save your favicon as a PNG file. PNG is better than JPG because it is a lossless format, and with such a small image, you cannot afford to lose any quality. <strong>Next, head over to this <a href="http://www.dagondesign.com/tools/favicon-generator-tool/">sweet favicon generator</a> &#8211; the best tool I&#8217;ve found for converting images to the ICO favicon format</strong>. To be honest, I tried a few different sites and they all gave me problems except for this one.</p>
<h2>Making it Display on Your Blog or Site</h2>
<p>Once you have the ICO file on your computer, you need to <strong>rename it &#8220;favicon.ico&#8221;</strong>, anything else and it simply won&#8217;t work. Next you need to <strong>upload the icon to your public_html directory</strong> (it won&#8217;t work anywhere else). Finally, you&#8217;ll also need to include this small snippet of code in the &lt;head&gt; of your HTML files:</p>
<pre class="brush:html">
<link rel="shortcut icon" href="/favicon.ico" />
</pre>
<p>If everything is setup properly you should now see a favicon when you refresh your site. I should mention that I did have a problem with Firefox not displaying the icon, but I think it was a caching issue because I verified it with this <a href="http://www.seositecheckup.com/favicon.php">seositecheckup</a> tool and everything seemed good!</p>
<p>Here is what it looks like using Safari<br />
<img src="http://www.designbash.com/wp-content/uploads/2010/03/favicon-example.png" alt="Nice Favicon Example" title="favicon-example" width="240" height="29" class="aligncenter size-full wp-image-316" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.designbash.com/tutorials/make-a-favicon-for-your-blog-an-easy-how-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rounded CSS Corners &#8211; The Basics</title>
		<link>http://www.designbash.com/css/rounded-css-corners-the-basics/</link>
		<comments>http://www.designbash.com/css/rounded-css-corners-the-basics/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 21:04:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.designbash.com/?p=284</guid>
		<description><![CDATA[For those of us who no longer want to support Microsoft's lagging browsers, the best and fastest way to create rounded corners is by using CSS. ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.designbash.com/css/rounded-css-corners-the-basics/"><img src="http://www.designbash.com/wp-content/uploads/2010/02/rounded-corners-CSS.jpg" alt="CSS Rounded Corners" title="rounded-corners-CSS" width="500" height="120" class="aligncenter size-full wp-image-297" /></a><br />
For those of us who no longer want to support Microsoft&#8217;s lagging browsers the best <em>(and fastest)</em> way to create rounded corners is by using CSS3. Using CSS corners will dramatically reduce your development time while keeping your markup clean and flexible.<span id="more-284"></span></p>
<p>As it stands, rounded corners are currently supported in modern versions of <strong>Firefox, Safari, and Chrome</strong>. Unfortunately, you&#8217;ll need to use two different declarations to get all these browsers working. The basic declarations should look something like this:</p>
<pre class="brush:css">

/* Supported in Firefox */
-moz-border-radius
-moz-border-radius-topleft
-moz-border-radius-topright
-moz-border-radius-bottomleft
-moz-border-radius-bottomright

/* Supported in Chrome and Safari */
-webkit-border-radius
-webkit-border-top-left-radius
-webkit-border-top-right-radius
-webkit-border-bottom-left-radius
-webkit-border-bottom-right-radius
</pre>
<h3>The Rounded Example</h3>
<p>Below you will find an example of rounded corners in action. If you&#8217;re using a modern browser you should see the grey box with rounded corners. <em>(if using IE, I&#8217;ve put in a screenshot of what things look like when using a respectable browser)</em></p>
<pre class="brush:css">
.rounded {
width: 500px;
padding: 30px 0px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
}
</pre>
<div style="background: #ffffff; padding: 30px 0; border: 1px solid #cccccc; margin-bottom: 15px;">
<div style="background: #cccccc; width: 450px; margin: 15px auto; padding: 30px 0; -moz-border-radius: 10px; -webkit-border-radius: 10px;">
<p style="text-align: center; margin: 0; padding: 0;">This paragraph is inside a rounded DIV</p>
</div>
</div>
<h3>Screenshot Example For Internet Explorer <em>(sigh&#8230;)</em></h3>
<p><img style="border: 1px solid #cccccc;" src="http://www.designbash.com/wp-content/uploads/2010/02/ie-rounded-css.png" alt="ie Rounded Rectangle CSS Example" title="ie-rounded-css" width="558" height="170" class="aligncenter size-full wp-image-292" /></p>
<h3>But What Does the W3C Say?</h3>
<p>Due to the fact that border-radius is not officially supported by any browser, it might be a good idea to check out what the W3C has to say about the subject. I was surprised to see how detailed they were and I highly recommend <strong><a href="http://www.w3.org/TR/css3-background/#the-border-radius">checking out their official specs</a></strong>. As a reference, the official (but currently unsupported) declarations are:</p>
<pre class="brush:css">
border-radius
border-top-right-radius
border-bottom-right-radius
border-bottom-left-radius
border-top-left-radius
</pre>
<p>There are tons of neat variations you can do, but they go a little beyond the scope of this article. Check out the W3C specs for the full explanation, or, check out some of these links that do a good job documenting css rounded corners:</p>
<ul>
<li><a href="http://www.css3.info/preview/rounded-border/">CSS3 Info</a></li>
<li><a href="http://www.the-art-of-web.com/css/border-radius/">The Art of Web</a></li>
<li><a href="http://www.zenelements.com/blog/css3-border-radius-rounded-corners/">Zen Elements</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.designbash.com/css/rounded-css-corners-the-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails Development Log &#8211; Live Environment</title>
		<link>http://www.designbash.com/rails/rails-development-log-live-environment/</link>
		<comments>http://www.designbash.com/rails/rails-development-log-live-environment/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 17:49:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://www.designbash.com/?p=281</guid>
		<description><![CDATA[I learned a little trick today that's going to make my rails development much easier than before. I can now see my development log on ]]></description>
			<content:encoded><![CDATA[<p>I learned a little trick today that&#8217;s going to make my rails development <strong>much</strong> much easier than before. While I generally like to develop my applications on a local machine &#8211; I&#8217;ve recently started developing in a live <em>(eg. www.myapp.com)</em> environment.<span id="more-281"></span></p>
<p>One thing I was really missing was my faithful server output that I would constantly monitor. I could check every SQL query, which actions were getting triggered, and most importantly <em>(IMO)</em> &#8211; the params that were getting passed into my controllers.</p>
<p>Well finally I&#8217;ve found a solution (<a href="http://stackoverflow.com/questions/1015739/how-can-we-watch-the-rails-development-log" target="_blank">thanks to this link</a>)!</p>
<p>Long story short &#8211; all you need to do is SSH into your hosting and then run the following command (from your application directory):</p>
<pre class="brush:bash">tail -f log/development.log
</pre>
<p>This will allow you to see the standard development.log in real time. Hope this helps someone as much as it helped me!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designbash.com/rails/rails-development-log-live-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to SSH using OSX and Terminal</title>
		<link>http://www.designbash.com/quickie/how-to-ssh-using-osx-and-terminal/</link>
		<comments>http://www.designbash.com/quickie/how-to-ssh-using-osx-and-terminal/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 16:56:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quickie]]></category>
		<category><![CDATA[Beginner]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.designbash.com/?p=275</guid>
		<description><![CDATA[I know for many people this is a really really simple task, but I constantly find myself looking this up online and it usually takes me 5-10 minutes before I find a useful result. With this in mind, please enjoy the following snippet.]]></description>
			<content:encoded><![CDATA[<p>I know for many people this is a really <strong>really</strong> simple task, but I constantly find myself looking this up online and it usually takes me 5-10 minutes before I find a useful result. With this in mind, please enjoy the following snippet.<span id="more-275"></span></p>
<h3>SSH, OSX and Terminal</h3>
<p>I&#8217;ll retrace my exact steps here, including hot-keys. First we need to open up the terminal &#8211; a basic prompt interface that lives beneath all the bling of OSX. Rather than digging around in your applications folder, just hit <strong>apple-spacebar </strong>to open spotlight. Type &#8220;<strong>terminal</strong>&#8221; and it should show up right away.</p>
<p><img class="aligncenter size-full wp-image-276" title="spotlight" src="http://www.designbash.com/wp-content/uploads/2010/01/spotlight.png" alt="spotlight terminal" width="342" height="165" /></p>
<h3>Inside the Matrix (Terminal)</h3>
<p>Now you can start to feel like a hacker. Thankfully, OSX ships with SSH pre-installed, which makes this tutorial very easy. To connect using SSH you need to type:</p>
<p><strong>&#8220;SSH username@www.yourwebsite.com&#8221;</strong></p>
<p><img class="aligncenter size-full wp-image-277" title="ssh-terminal" src="http://www.designbash.com/wp-content/uploads/2010/01/ssh-terminal.png" alt="" width="583" height="74" /></p>
<p>After pressing enter you&#8217;ll be prompted for two things&#8230; <strong>a password and a yes/no question</strong> asking if you want to add a record of the SSH connection (or something like that). While typing your password you can&#8217;t actually see the characters, but it is really working. Also, you need to write a <strong>full &#8220;yes&#8221; or &#8220;no&#8221;</strong> in response to the question&#8230;</p>
<h3><strong>That&#8217;s It</strong>!</h3>
<p>You should be connected and ready to go. There are many different SSH commands, so I won&#8217;t go through those right now, but here are a few to get you started:</p>
<ul>
<li><strong>ls</strong> &#8211; Used to list the contents of a directory</li>
<li><strong>cd ..</strong> &#8211; Used to go back (or up) one directory</li>
<li><strong>cd directory/name</strong> &#8211; Used to navigate to a directory</li>
<li><strong>exit</strong> &#8211; Used to end the SSH session</li>
<li><strong>pwd</strong> &#8211; Prints the working directory</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.designbash.com/quickie/how-to-ssh-using-osx-and-terminal/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Simplicity Revolution</title>
		<link>http://www.designbash.com/inspiration/the-simplicity-revolution/</link>
		<comments>http://www.designbash.com/inspiration/the-simplicity-revolution/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 18:57:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Inspiration]]></category>

		<guid isPermaLink="false">http://www.designbash.com/?p=271</guid>
		<description><![CDATA[After posting a scathing review of the American Airlines website, Dustin Curtis received a personal response from one of the user experience architects who works on the AA design team. The response letter, titled "Dear Dustin Curtis", tries to explain why the American Airlines website is so bad. ]]></description>
			<content:encoded><![CDATA[<p>After posting a scathing review of the American Airlines website, <a href="http://dustincurtis.com/" target="_blank">Dustin Curtis </a>received a personal response from one of the user experience architects who works on the AA design team. The response letter, titled &#8220;<a href="http://dustincurtis.com/dear_dustin_curtis.html" target="_blank">Dear Dustin Curtis</a>&#8220;, tries to explain why the American Airlines website is so bad. The designer essentially blames the problems on the massive corporate infrastructure surrounding any design choices, and laments about the reviews and revisions that accompany all their work.<span id="more-271"></span></p>
<p>I would highly recommend reading this article, especially if you work in a large corporate environment. The follow-up response by Dustin is also really interesting, asking designers to take an introspective look at their taste, as well as blaming poor corporate leadership for bad design (taste).</p>
<p>But don&#8217;t take my word for it&#8230;.</p>
<p><strong><a href="http://dustincurtis.com/dear_dustin_curtis.html" target="_blank">Prepare for your mind to be blown by reading Dear Dustin Curtis&#8230;</a></strong></p>
<p><strong>An Aside</strong></p>
<p>This article also ended up leading me to the <a href="http://gettingreal.37signals.com/toc.php" target="_blank">manifesto of 37signals</a>, another life changing read.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designbash.com/inspiration/the-simplicity-revolution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Photoshop Offset Filter &#8211; Making Seamless Textures</title>
		<link>http://www.designbash.com/photoshop/photoshop-offset-filter-making-seamless-textures/</link>
		<comments>http://www.designbash.com/photoshop/photoshop-offset-filter-making-seamless-textures/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 17:40:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Pattern]]></category>
		<category><![CDATA[Seamless]]></category>
		<category><![CDATA[Texture]]></category>

		<guid isPermaLink="false">http://www.designbash.com/?p=250</guid>
		<description><![CDATA[Today we will be working with the offset filter in Photoshop to help create a seamless textured pattern. If you ever find yourself trying to make repeatable patterns for the web, then you'll definitely want to follow this quick tutorial.]]></description>
			<content:encoded><![CDATA[<p>Today we will be working with the offset filter in Photoshop to help create a seamless textured pattern. If you ever find yourself trying to make repeatable patterns for the web, then you&#8217;ll definitely want to follow this quick tutorial.<span id="more-250"></span> I&#8217;ll be using a random texture that I found somewhere on the internet, you can grab it here (click on the thumb for the full size):</p>
<div id="attachment_251" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.designbash.com/wp-content/uploads/2010/01/jute-texture.jpg"><img class="size-medium wp-image-251" title="jute-texture" src="http://www.designbash.com/wp-content/uploads/2010/01/jute-texture-300x212.jpg" alt="Jute Texture" width="300" height="212" /></a><p class="wp-caption-text">Download Jute Texture</p></div>
<h3>Step 1 &#8211; Setup Your Photoshop Document</h3>
<p>Go ahead and create a new photoshop document that is <strong>600px by 600px</strong>. Choosing a large tile size will make our background seem less tiled, but may require a little more work depending on the image your trying to make repeatable. Specifically, if your source image has a lot of color variation you might want to choose a smaller tile size to make things easier on yourself. The image we are using has a very consistent color scope, so our 600&#215;600 tile size should be easy enough to work with.</p>
<p><img class="aligncenter size-full wp-image-253" title="seamless-document" src="http://www.designbash.com/wp-content/uploads/2010/01/seamless-document-e1264003762422.png" alt="" width="500" height="282" /></p>
<h3>Step 2 &#8211; Paste in the Jute Texture</h3>
<p>Next you need to paste in the jute texture. I&#8217;ve oriented mine to the top left and scaled it down until it just fits the canvas. You&#8217;ll end up cutting off the right side of the image.</p>
<h3><img class="aligncenter size-full wp-image-254" title="scale-down-texture" src="http://www.designbash.com/wp-content/uploads/2010/01/scale-down-texture-e1264004340229.png" alt="" width="500" height="357" /></h3>
<h3>Step 3 &#8211; Using the Offset Filter</h3>
<p>Now comes the fun part! With your texture layer selected, goto the top menu and choose <strong>Filter &gt; Other &gt; Offset</strong>. We want to offset our image horizontally and vertically by <strong>300-pixels,</strong> allowing us to see where our pattern has its seams. After applying the filter you should see your texture now has 4 defined quadrants. In the next step we are going to clean those up and make our pattern seamless.</p>
<p><img class="aligncenter size-full wp-image-255" title="choose-offset" src="http://www.designbash.com/wp-content/uploads/2010/01/choose-offset-e1264005566588.png" alt="" width="498" height="215" /></p>
<p><img class="aligncenter size-full wp-image-256" title="offset-settings" src="http://www.designbash.com/wp-content/uploads/2010/01/offset-settings-e1264005600492.png" alt="" width="499" height="265" /></p>
<h3>Step 4 &#8211; Smooth the Divisions</h3>
<p>This is the hardest part of making seamless textures. We need to smooth out the dividing lines using photoshop&#8217;s many helpful tools. I&#8217;ve found two different ways to do this, but the method you use ultimately depends on the texture you&#8217;re working with. Some textures are really easy to turn into a pattern, other textures are almost impossible. This jute texture is relatively easy thanks to the consistent color, but there are a few tricks I used to get things just right.</p>
<p><strong>Method #1 &#8211; </strong><em>(I found this works better for this texture)</em></p>
<ol>
<li>Copy areas of the texture that have no seam and paste them (in a new layer) <strong>on top of the seams</strong>. Adding some feathering to your selection <em>(around 5px)</em> will make things a little smoother.</li>
<li>Use the eraser tool (using a soft &amp; small setting) and <strong>erase the edges of your new layer</strong>.</li>
<li>You&#8217;ll find that the edges of your new layer look a little blurred and don&#8217;t really fit in&#8230; to fix this use the <strong>sharpen tool along the edge</strong>.</li>
</ol>
<p><img class="aligncenter size-full wp-image-259" title="copy-and-paste" src="http://www.designbash.com/wp-content/uploads/2010/01/copy-and-paste.jpg" alt="" width="500" height="300" /></p>
<p><strong>Method #2</strong></p>
<ol>
<li>Use the clone tool to remove the seams</li>
<li>If you find things are blurry use the sharpen tool to make things fit properly.</li>
</ol>
<p><strong>TIP</strong>: <em>When you have a relativity seamless pattern you can use the </em><strong><em>burn</em></strong><em> and </em><strong><em>darken</em></strong><em> tools to make the lighting more standard&#8230;</em></p>
<p>It definitely takes a little time to get things perfect, but it&#8217;s worth it in the end. It took me around 20-minutes before I had a semi-perfect seamless texture. Below you&#8217;ll find the final image:</p>
<div id="attachment_267" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.designbash.com/wp-content/uploads/2010/01/seamless-jute1.jpg"><img class="size-medium wp-image-267" title="seamless-jute" src="http://www.designbash.com/wp-content/uploads/2010/01/seamless-jute1-300x300.jpg" alt="Seamless Jute Texture" width="300" height="300" /></a><p class="wp-caption-text">Download Seamless Jute Texture</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.designbash.com/photoshop/photoshop-offset-filter-making-seamless-textures/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Wooden Texture Pack &#8211; High Res</title>
		<link>http://www.designbash.com/freebies/wooden-texture-pack-high-res/</link>
		<comments>http://www.designbash.com/freebies/wooden-texture-pack-high-res/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 02:22:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[textures]]></category>
		<category><![CDATA[wood]]></category>

		<guid isPermaLink="false">http://www.designbash.com/?p=236</guid>
		<description><![CDATA[Nothing to see here folks, just another entry in the wooden texture department. As always, please use these textures for anything you want, commercial or otherwise.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a rel="wp-att-243" href="http://www.designbash.com/freebies/wooden-texture-pack-high-res"><img class="aligncenter size-full wp-image-243" title="wood" src="http://www.designbash.com/wp-content/uploads/2010/01/wood.jpg" alt="" width="500" height="220" /></a></p>
<p>Nothing to see here folks, just another entry in the <strong>wooden texture department</strong>. As always, please use these textures for anything you want, commercial or otherwise. They were taken in my home with my girlfriends Rebel and a sweet German tripod.<span id="more-236"></span></p>
<h3>Enough talk, more wood texture!?! (click for full size)</h3>
<p style="text-align: center;"><a href="http://www.designbash.com/wp-content/uploads/2010/01/bamboo-texture.jpg"><img class="aligncenter size-full wp-image-237" title="free-wooden-texture" src="http://www.designbash.com/wp-content/uploads/2010/01/bamboo-texture.jpg" alt="Free Wooden Texture" width="432" height="324" /></a></p>
<p style="text-align: center;"><a href="http://www.designbash.com/wp-content/uploads/2010/01/wicker-texture.jpg"><img class="aligncenter size-full wp-image-239" title="wicker-texture" src="http://www.designbash.com/wp-content/uploads/2010/01/wicker-texture.jpg" alt="Wicker Texture Free" width="432" height="324" /></a></p>
<p style="text-align: left;">If you make something out of these textures and want to share, I&#8217;d love to see your work&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designbash.com/freebies/wooden-texture-pack-high-res/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The CSS Image Button &#8211; How To Make a Rollover</title>
		<link>http://www.designbash.com/tutorials/the-css-image-button-how-to-make-a-rollover/</link>
		<comments>http://www.designbash.com/tutorials/the-css-image-button-how-to-make-a-rollover/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 22:24:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Beginner]]></category>
		<category><![CDATA[buttons]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.designbash.com/?p=193</guid>
		<description><![CDATA[Today we will be talking about CSS image buttons, something that every web developer absolutely needs to know and understand. Thankfully, these buttons are really easy to create and only require a few lines of CSS.]]></description>
			<content:encoded><![CDATA[<p>Today we will be talking about <strong>CSS image buttons</strong>, something that every web developer needs to know and understand. It&#8217;s really amazing how much of a difference a simple button can make on your conversion rate. In fact, I came across this comprehensive post that deals with that particular subject, <a href="http://www.jonnyhardwick.com/archives/2009/09/06/7-elements-of-a-high-converting-order-button/">check it out</a>. This post won&#8217;t focus so much on the particulars of a high-converting button, but it will teach you how to slap together a quick CSS button that uses an image as a background.<span id="more-193"></span></p>
<h3>Step 1 &#8211; Make or Find a Button</h3>
<p>For this tutorial I&#8217;ll be using my <a href="http://www.designbash.com/freebies/some-green-buttons/" target="_blank">green glossy buttons</a> from a previous freebie post. Feel free to download the source PSD and follow along, or just make your own button style.</p>
<h3>Step 2 &#8211; Prepare the Button</h3>
<p>Before we really get started, it&#8217;s important to know what size we want to make our button. For this example I&#8217;ll create a button that is quite large, I&#8217;m thinking around <strong>300px by 60px</strong> in size. So go ahead and crate a new Photoshop document with the dimensions you want.</p>
<p><img class="aligncenter size-full wp-image-194" title="css-button-tut1" src="http://www.designbash.com/wp-content/uploads/2010/01/css-button-tut1.jpg" alt="" width="500" height="250" /></p>
<p>After you&#8217;ve created the document, import my button (or yours) and scale it up so that it fills almost the entire document. If you have a little extra space on the sides it&#8217;s not the end of the world, just make sure that your button is perfectly centred on the canvas. To centre somthing perfectly you just need to:</p>
<ol>
<li>With your button folder/layer selected, use the marquee tool (<em>m-key</em>)  to select the entire canvas (<em>apple-a</em>)</li>
<li>Without deselecting anything, choose the Move tool (<em>v-key</em>) and use the alignment tools in the top panel to centre your button vertically and horizontally.</li>
</ol>
<p><br class="spacer_" /></p>
<p><img class="aligncenter size-full wp-image-195" title="css-alignment-tools" src="http://www.designbash.com/wp-content/uploads/2010/01/css-alignment-tools.jpg" alt="" width="500" height="250" /></p>
<p><br class="spacer_" /></p>
<div id="attachment_196" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-196" title="cssbutton2" src="http://www.designbash.com/wp-content/uploads/2010/01/cssbutton2.jpg" alt="" width="500" height="196" /><p class="wp-caption-text">A Perfectly Centred Button</p></div>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<h3>Step 3 &#8211; Create a Rollover State</h3>
<p>Next up we need to create a <strong>rollover state</strong>. Basically, we need to <strong>double our canvas size (vertically) and duplicate our button. </strong>From the top menu select <strong>Image &gt; Canvas Size&#8230; </strong>and double the height of your canvas (120px if you&#8217;re following my example). Once your canvas size is doubled, divide it vertically with a horizontal guide.</p>
<p><img class="aligncenter size-full wp-image-200" title="css-button-double" src="http://www.designbash.com/wp-content/uploads/2010/01/css-button-double.png" alt="" width="479" height="345" /></p>
<p><img class="aligncenter size-full wp-image-201" title="doublebutton" src="http://www.designbash.com/wp-content/uploads/2010/01/doublebutton.jpg" alt="" width="500" height="250" /></p>
<p>Now you need to duplicate your button and centre it perfectly in the top section. The top button will be what our button looks like when you rollover, for now it looks the same as the bottom.</p>
<p><img class="aligncenter size-full wp-image-204" title="rollover-top01" src="http://www.designbash.com/wp-content/uploads/2010/01/rollover-top011.jpg" alt="" width="500" height="215" /></p>
<p>Next we add a rollover effect. If you&#8217;re using my buttons, you can open up the layer styles of the top button and slide the <strong>inner glow up to 75%</strong>. This will give our button a subtle glow effect when we hover over it.</p>
<p><img class="aligncenter size-full wp-image-205" title="effects" src="http://www.designbash.com/wp-content/uploads/2010/01/effects.jpg" alt="" width="500" height="250" /></p>
<p><img class="aligncenter size-full wp-image-207" title="effect-example" src="http://www.designbash.com/wp-content/uploads/2010/01/effect-example.jpg" alt="" width="500" height="201" /></p>
<p>With your button and rollover effect ready to go, you can now &#8220;<strong>save for web</strong>.&#8221; One important thing to consider here is what your background will be like. For my example I&#8217;ve made the background transparent and s<strong>aved my buttons in PNG format</strong>. This means my buttons are not supported in IE6, but you could just as easily choose a background color and ditch the transparency, making your buttons IE6 friendly.</p>
<h3>Step 4 &#8211; CSS Sprites and Some Basic HTML</h3>
<p>Now comes the fun part, creating the button. First, we&#8217;ll start with some markup, a simple and humble link:</p>
<pre class="brush:html"> &lt;a href="#" class="button"&gt;My Glossy Button&lt;/a&gt; </pre>
<p>I&#8217;ve given this link a class so that I can target it easier, but other than that it&#8217;s just a plain old link. Moving on let&#8217;s do some CSS magic. The basic idea is that we hide the link text using the text-indent property and give the link a background-image that only shows the non-rollover state. On hover we simply shift the background to show hover state, avoiding any loading time that is typical of CSS/Javascript image swaps.</p>
<pre class="brush:css">a.button {
display: block;
width: 300px;
height: 60px;
text-indent: -999em;
background: url(css-glossy-rollover.png) 0px -60px no-repeat;
}

a.button:hover {
background-position: 0px 0px;
}</pre>
<p>If you&#8217;ve done everything right the button should look something like this:</p>
<style type="text/css">
a.button {
display: block;
width: 300px;
height: 60px;
text-indent: -999em;
background: url(http://www.designbash.com/wp-content/uploads/2010/01/css-glossy-rollover.png) 0px -60px no-repeat;
}
a.button:hover {
background-position: 0px 0px;
}
</style>
<p><a href="#" class="button">My Glossy Button</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.designbash.com/tutorials/the-css-image-button-how-to-make-a-rollover/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

