<?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>onidle(...) &#187; Web Dev</title>
	<atom:link href="http://journal.onidle.com/category/web-dev/feed/" rel="self" type="application/rss+xml" />
	<link>http://journal.onidle.com</link>
	<description>Ruby, Rails, Macs, baked beans...</description>
	<lastBuildDate>Fri, 01 Feb 2008 01:30:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Typography and You</title>
		<link>http://journal.onidle.com/2007/04/typography-and-you/</link>
		<comments>http://journal.onidle.com/2007/04/typography-and-you/#comments</comments>
		<pubDate>Mon, 02 Apr 2007 02:48:21 +0000</pubDate>
		<dc:creator>Tom Brice</dc:creator>
				<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://journal.onidle.com/2007/04/typography-and-you/</guid>
		<description><![CDATA[	I wrote about the Yahoo! UI CSS components a while back.  At the time I found an interesting article about vertical rhythm in Web typography.  The article, Compose to a Vertical Rhythm from the 2006 24Ways list explains the how&#8217;s and why&#8217;s of nice-looking typography on the web.  Turns out the Yahoo! [...]]]></description>
			<content:encoded><![CDATA[	<p>I <a href="/2007/02/learning-to-live-with-css/">wrote about</a> the <a href="http://developer.yahoo.com/yui/">Yahoo! UI</a> CSS components a while back.  At the time I found an interesting article about vertical rhythm in Web typography.  The article, <a href="http://24ways.org/2006/compose-to-a-vertical-rhythm">Compose to a Vertical Rhythm</a> from the <a href="http://24ways.org/2006">2006 24Ways list</a> explains the how&#8217;s and why&#8217;s of nice-looking typography on the web.  Turns out the <a href="http://developer.yahoo.com/yui/reset/">Yahoo! UI Reset stylesheet</a> is a great way to start with this technique since it basically &#8220;zeros out&#8221; all font sizes in a effort to achieve cross-browser rendering nirvana.</p>
	<p>Fast-forward a few months&#8230;  Geoffrey Grosenbach recently redesigned the <a href="http://peepcode.com/">PeepCode site</a> using the same techniques for the type.  Richard Rutter, author of the 24ways article, gave a <a href="http://webtypography.net/sxsw2007/">talk at SXSW on the topic</a>.  What&#8217;s more, Geoffrey has published a great tool, the <a href="http://topfunky.com/baseline-rhythm-calculator/">Baseline Rhythm Calculator</a>, to generate the required CSS to implement Richard&#8217;s technique.  Combine this with <a href="http://developer.yahoo.com/yui/reset/">YUI Reset</a> and you have good looking type with almost zero effort.  Very nice!  There are links to other relevant articles on the <a href="http://topfunky.com/baseline-rhythm-calculator/">calculator&#8217;s page</a>.  Go check it out!</p>

 ]]></content:encoded>
			<wfw:commentRss>http://journal.onidle.com/2007/04/typography-and-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learning to live with CSS</title>
		<link>http://journal.onidle.com/2007/02/learning-to-live-with-css/</link>
		<comments>http://journal.onidle.com/2007/02/learning-to-live-with-css/#comments</comments>
		<pubDate>Tue, 13 Feb 2007 03:59:11 +0000</pubDate>
		<dc:creator>Tom Brice</dc:creator>
				<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://journal.onidle.com/2007/02/learning-to-live-with-css/</guid>
		<description><![CDATA[	As you know, table based layout are bad news.  Well, personally, I came to this game late and never used table-based layouts.  As a former prepress guy accustomed to Quark and Photoshop (GUI&#8217;s) the avalanche of &#60;table&#62; tags in much of the HTML I viewed in 1994 scared me off. Yikes!  Fast-forward [...]]]></description>
			<content:encoded><![CDATA[	<p>As you know, table based layout are bad news.  Well, personally, I came to this game late and never used table-based layouts.  As a former prepress guy accustomed to Quark and Photoshop (GUI&#8217;s) the avalanche of <code>&lt;table&gt;</code> tags in much of the HTML I viewed in 1994 scared me off. Yikes!  Fast-forward 10 years or so or so and I found myself back in school learning how to write basic HTML.  Much to my surprise those damn <code>&lt;table&gt;</code> tags were still prevalent.  Drat!</p>
	<p>One of the requirements of the &#8220;Hello World&#8221; page for class was to use Cascading Style Sheets to spec fonts and colors.  So I did a little googling and it turns out one can use CSS to <em>layout</em> the page too.  Seemed like the way to go, no more deeply nested <code>&lt;table&gt;</code> tags&#8230; I was excited.  That semester was an exercise in pain-management.  As you might guess, bending CSS to my will was not easy.  Lots of reading and lots of trial and error.  And lots of requests to my instructor to use <a href="http://www.mozilla.com/en-US/firefox/">Firefox</a> when viewing my assignments!</p>
	<p>Over then next few years I built many pages and layouts and always battled against CSS.  I had amassed a boatload of links to descriptions of how to do fluid, hybrid, and fixed layouts.  Arcane information about browser incompatibilities and &#8220;hacks&#8221; littler my skull.  Each time I started a project I spent an inordinate amount of time fiddling with the CSS &#8211; which structure, how to name selectors, and on.  Makes me tired just thinking about it.</p>
	<p>A few months ago I finally found the answer: <a href="http://developer.yahoo.com/yui/">Yahoo! UI Library</a>.  According to the site:</p>
<blockquote>All components in the YUI Library have been released as open source under a BSD license and are free for all uses.</blockquote>
	<p>The library has a bunch of javascript utilities and controls.  I use <a href="http://rubyonrails.org">Ruby on Rails</a> primarily so most of that is taken care of by Rails and it&#8217;s integration with <a href="http://prototypejs.org/">prototype</a> and <a href="http://script.aculo.us/">script.aculo.us</a>.  My interest lies in their CSS tools.  But, oh, the CSS!</p>
	<p>The key ingredient for page layout is <a href="http://developer.yahoo.com/yui/grids/">YUI Grids CSS</a>.  Pretty amazing.  Simply follow the conventions describe in the code (as well as the <a href="http://developer.yahoo.com/yui/grids/#base_markup">excellent documentaiton</a>) and you&#8217;re ready to go.  They even provide a nice <a href="http://developer.yahoo.com/yui/grids/builder/">interactive builder page</a> to generate the basic structure.  No more trial and error, fluid, fixed, this just works.  The other two sheets help with the <em>finer</em> points.  <a href="http://developer.yahoo.com/yui/reset/">Reset CSS</a> provides a nice foundation for predictable cross browser rendering and <a href="http://developer.yahoo.com/yui/fonts/">Fonts CSS</a> helps make font size look consistent.</p>
	<p>So if you don&#8217;t don&#8217;t wear <a href="http://i16.photobucket.com/albums/b30/bluecanarykit/nightgigbeatnik-done1.jpg">black turtlenecks and berets</a>, take a look.  If you do, well, take a look anyway.  Really.  While not an example of beautiful design, I was able to remove the &#8220;just scaffolded&#8221; look of the <a href="http://ruby.mn/">Ruby Users of Minnesota</a> website using it.  And now, if we find someone more artistically inclined maybe they can spend time making it look <em>good</em> and less time rasslin&#8217; with CSS.</p>

 ]]></content:encoded>
			<wfw:commentRss>http://journal.onidle.com/2007/02/learning-to-live-with-css/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
