<?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>The Pragmatic Craftsman &#187; Web Development</title>
	<atom:link href="http://pragmaticcraftsman.com/category/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://pragmaticcraftsman.com</link>
	<description>Simplicity from complexity : by Stanley Kubasek</description>
	<lastBuildDate>Fri, 18 Nov 2011 13:36:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Javascript Resources</title>
		<link>http://pragmaticcraftsman.com/2009/04/javascript-resources/</link>
		<comments>http://pragmaticcraftsman.com/2009/04/javascript-resources/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 10:37:40 +0000</pubDate>
		<dc:creator>Stanley</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://kubasek.com/blog/pragmatic_craftsman/?p=276</guid>
		<description><![CDATA[Over the past couple of weeks I have digged into learning Javascript on a deeper level. I have learned a great deal. Along the way, I&#8217;ve come across some very good Javascript resources. Listed below are links to the best I&#8217;ve found. Douglas Crockford articles &#8211; Javascript guru JavaScript core skills &#8212; list of very [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past couple of weeks I have digged into learning Javascript on a deeper level. I have learned a great deal. Along the way, I&#8217;ve come across some very good Javascript resources. Listed below are links to the best I&#8217;ve found.
<p><a href="http://javascript.crockford.com/">Douglas Crockford articles</a> &#8211; Javascript guru
<p><a href="http://dev.opera.com/articles/view/1-introduction-to-the-web-standards-cur/#toc">JavaScript core skills</a> &#8212; list of very good articles on Javascript by Opera developers
<p><a href="http://www.klauskomenda.com/code/javascript-programming-patterns/">JavaScript Programming Patterns</a> &#8211; an excellent articles about OO programming in Javascript
<p><a href="http://pragmaticcraftsman.com/2009/04/professional_javascript_for_web_developers_2nd_ed.php">Professional Javascript Development</a> &#8212; excellent Javascript book</p>
<p><a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2009%2F04%2Fjavascript-resources%2F&amp;linkname=Javascript%20Resources" title="Facebook" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2009%2F04%2Fjavascript-resources%2F&amp;linkname=Javascript%20Resources" title="Twitter" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/google_buzz?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2009%2F04%2Fjavascript-resources%2F&amp;linkname=Javascript%20Resources" title="Google Buzz" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/google_buzz.png" width="16" height="16" alt="Google Buzz"/></a> <a href="http://www.addtoany.com/add_to/dzone?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2009%2F04%2Fjavascript-resources%2F&amp;linkname=Javascript%20Resources" title="DZone" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/dzone.png" width="16" height="16" alt="DZone"/></a> <a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2009%2F04%2Fjavascript-resources%2F&amp;linkname=Javascript%20Resources" title="Delicious" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/email?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2009%2F04%2Fjavascript-resources%2F&amp;linkname=Javascript%20Resources" title="Email" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/email.png" width="16" height="16" alt="Email"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://pragmaticcraftsman.com/2009/04/javascript-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Notes: Layouts</title>
		<link>http://pragmaticcraftsman.com/2008/04/css-notes-layouts/</link>
		<comments>http://pragmaticcraftsman.com/2008/04/css-notes-layouts/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 17:45:40 +0000</pubDate>
		<dc:creator>Stanley</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://kubasek.com/blog/pragmatic_craftsman/?p=262</guid>
		<description><![CDATA[I&#8217;m reading an excellent book on CSS &#8211; Stylin&#8217; with CSS (highly recommended). I finished reading roughly half of it and I&#8217;d like to summarize some of the things I learned. CSS LayoutsI am used to creating page layouts with HTML tables. It&#8217;s easy to do and you can get any layout you want. But [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m reading an excellent book on CSS &#8211; <em>Stylin&#8217; with CSS</em> (highly recommended). I finished reading roughly half of it and I&#8217;d like to summarize some of the things I learned.
<p><strong>CSS Layouts</strong>I am used to creating page layouts with HTML tables. It&#8217;s easy to do and you can get any layout you want. But doing it that way is no longer recommended, and it&#8217;s an ugly way of doing layouts. The &#8220;new&#8221; way of doing layouts is with pure CSS. It&#8217;s cleaner and more concise. However, it&#8217;s more complicated for a novice html guy like me. To really get this, you need to have some experience.
<p>So how do you do it? Let&#8217;s look an an actual example first.
<pre>&lt;div id=&quot;main_wrapper&quot;&gt;&lt;div id=&quot;header&quot;&gt;&lt;div id=&quot;header_inner&quot;&gt;Header&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;nav&quot;&gt;&lt;div id=&quot;nav_inner&quot;&gt;Left nav&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;content&quot;&gt;&lt;div id=&quot;content_inner&quot;&gt;Main content...&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</pre>
<p>and here&#8217;s the style for it:
<pre>&lt;style&gt;#main_wrapper {width: 840px;}#header {

}#nav {width: 20%;float: left;}#content {width: 80%;float: left;}#footer {clear: both;}&lt;/style&gt;</pre>
<p>Nice and simple. With this technique you can put together any layout you want.
<p><strong>Why the inner divs?</strong> Because CSS is weird. Even though you have a div with a certain size, by adding padding, margins, and border, the width actually changes! So, sure,you can go with just a top-level div, but you have to keep in mind that the size will change when you add those settings. How do you get around that? By using an inner div. The outer div controls the sizing and floating. Inside the inner div, you can then add padding, margins and border and the size of the outer div will not change: this is really how it should work. By using an inner div, you actually simplify your life!
<p><strong>Reference</strong><a href="http://www.amazon.com/exec/obidos/ASIN/0321525566/thepragmaticc-20">Stylin&#8217; with CSS: A Designer&#8217;s Guide</a>, Charles Wyke-Smith</p>
<p><a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2008%2F04%2Fcss-notes-layouts%2F&amp;linkname=CSS%20Notes%3A%20Layouts" title="Facebook" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2008%2F04%2Fcss-notes-layouts%2F&amp;linkname=CSS%20Notes%3A%20Layouts" title="Twitter" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/google_buzz?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2008%2F04%2Fcss-notes-layouts%2F&amp;linkname=CSS%20Notes%3A%20Layouts" title="Google Buzz" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/google_buzz.png" width="16" height="16" alt="Google Buzz"/></a> <a href="http://www.addtoany.com/add_to/dzone?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2008%2F04%2Fcss-notes-layouts%2F&amp;linkname=CSS%20Notes%3A%20Layouts" title="DZone" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/dzone.png" width="16" height="16" alt="DZone"/></a> <a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2008%2F04%2Fcss-notes-layouts%2F&amp;linkname=CSS%20Notes%3A%20Layouts" title="Delicious" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/email?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2008%2F04%2Fcss-notes-layouts%2F&amp;linkname=CSS%20Notes%3A%20Layouts" title="Email" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/email.png" width="16" height="16" alt="Email"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://pragmaticcraftsman.com/2008/04/css-notes-layouts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CssBasics.com</title>
		<link>http://pragmaticcraftsman.com/2006/02/cssbasics-com/</link>
		<comments>http://pragmaticcraftsman.com/2006/02/cssbasics-com/#comments</comments>
		<pubDate>Fri, 10 Feb 2006 09:40:32 +0000</pubDate>
		<dc:creator>Stanley</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://kubasek.com/blog/pragmatic_craftsman/?p=146</guid>
		<description><![CDATA[If you&#8217;re trying to learn CSS, or if you want a good reference, like me, CssBasics.com looks very good. It is a tutorial that is simple, well laid out, and has a very good rating on digg.com. Check it out.]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re trying to learn CSS, or if you want a good reference, like me, <a href="http://cssbasics.com">CssBasics.com</a> looks very good. It is a tutorial that is simple, well laid out, and has a very good rating on <a href="http://digg.com/design/CSS_Basics">digg.com</a>. Check it out.</p>
<p><a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2006%2F02%2Fcssbasics-com%2F&amp;linkname=CssBasics.com" title="Facebook" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2006%2F02%2Fcssbasics-com%2F&amp;linkname=CssBasics.com" title="Twitter" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/google_buzz?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2006%2F02%2Fcssbasics-com%2F&amp;linkname=CssBasics.com" title="Google Buzz" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/google_buzz.png" width="16" height="16" alt="Google Buzz"/></a> <a href="http://www.addtoany.com/add_to/dzone?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2006%2F02%2Fcssbasics-com%2F&amp;linkname=CssBasics.com" title="DZone" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/dzone.png" width="16" height="16" alt="DZone"/></a> <a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2006%2F02%2Fcssbasics-com%2F&amp;linkname=CssBasics.com" title="Delicious" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/email?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2006%2F02%2Fcssbasics-com%2F&amp;linkname=CssBasics.com" title="Email" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/email.png" width="16" height="16" alt="Email"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://pragmaticcraftsman.com/2006/02/cssbasics-com/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Useful CSS Templates</title>
		<link>http://pragmaticcraftsman.com/2005/12/useful-css-templates/</link>
		<comments>http://pragmaticcraftsman.com/2005/12/useful-css-templates/#comments</comments>
		<pubDate>Sat, 03 Dec 2005 09:18:04 +0000</pubDate>
		<dc:creator>Stanley</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://kubasek.com/blog/pragmatic_craftsman/?p=141</guid>
		<description><![CDATA[Various CSS design templateshttp://www.intensivstation.ch/en/templates/ Nice array of searchable templateshttp://tools.i-use.it/ Find more design stuff &#8212; ideas &#8212; at digg.com/design. (I&#8217;m really enjoying digg.com so far.) Related500+ Colorshttp://cloford.com/resources/colours/500col.htm]]></description>
			<content:encoded><![CDATA[<p>Various CSS design templates<a href="http://www.intensivstation.ch/en/templates/">http://www.intensivstation.ch/en/templates/</a>
<p>Nice array of searchable templates<a href="http://tools.i-use.it/">http://tools.i-use.it/</a>
<p>Find more design stuff &#8212; ideas &#8212; at <a href="http://digg.com/design">digg.com/design</a>. (I&#8217;m really enjoying digg.com so far.)
<p>Related500+ Colors<a href="http://cloford.com/resources/colours/500col.htm">http://cloford.com/resources/colours/500col.htm</a></p>
<p><a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2005%2F12%2Fuseful-css-templates%2F&amp;linkname=Useful%20CSS%20Templates" title="Facebook" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2005%2F12%2Fuseful-css-templates%2F&amp;linkname=Useful%20CSS%20Templates" title="Twitter" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/google_buzz?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2005%2F12%2Fuseful-css-templates%2F&amp;linkname=Useful%20CSS%20Templates" title="Google Buzz" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/google_buzz.png" width="16" height="16" alt="Google Buzz"/></a> <a href="http://www.addtoany.com/add_to/dzone?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2005%2F12%2Fuseful-css-templates%2F&amp;linkname=Useful%20CSS%20Templates" title="DZone" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/dzone.png" width="16" height="16" alt="DZone"/></a> <a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2005%2F12%2Fuseful-css-templates%2F&amp;linkname=Useful%20CSS%20Templates" title="Delicious" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/email?linkurl=http%3A%2F%2Fpragmaticcraftsman.com%2F2005%2F12%2Fuseful-css-templates%2F&amp;linkname=Useful%20CSS%20Templates" title="Email" rel="nofollow" target="_blank"><img src="http://pragmaticcraftsman.kubasek.com/wp-content/plugins/add-to-any/icons/email.png" width="16" height="16" alt="Email"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://pragmaticcraftsman.com/2005/12/useful-css-templates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/


Served from: pragmaticcraftsman.com @ 2012-02-07 08:16:16 -->
