<?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>Scarf*oo &#187; quick tip</title>
	<atom:link href="http://scarfoo.com/archives/category/web-development/quick-tip/feed" rel="self" type="application/rss+xml" />
	<link>http://scarfoo.com</link>
	<description>Comfy Web Development With Standards in Mind</description>
	<lastBuildDate>Wed, 21 Dec 2011 19:07:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Quick Tip #1 &#8211; Tame those ems</title>
		<link>http://scarfoo.com/archives/130</link>
		<comments>http://scarfoo.com/archives/130#comments</comments>
		<pubDate>Wed, 21 Jan 2009 10:46:18 +0000</pubDate>
		<dc:creator>Damjan Mozetič</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[quick tip]]></category>
		<category><![CDATA[62.5% method]]></category>
		<category><![CDATA[em]]></category>

		<guid isPermaLink="false">http://scarfoo.com/?p=130</guid>
		<description><![CDATA[If you are into em-based layouts, you probably want more precision when translating your photoshop designs into pixel-perfect HTML and CSS creations. Simply setting the font-size in your body element to 62.5%, will make sure that from now on, you can rely on the rule of 1em = 10 pixels. body { font-size: 62.5%; /* [...]]]></description>
			<content:encoded><![CDATA[<p>If you are into em-based layouts, you probably want more precision when translating your photoshop designs into pixel-perfect HTML and CSS creations. Simply setting the font-size in your body element to 62.5%, will make sure that from now on, you can rely on the rule of <strong>1em = 10 pixels</strong>. </p>
<pre>
<code>body {
	font-size: 62.5%; /* 1em = 10px */
}</code>
</pre>
<p><strong>Note</strong>: Careful if you modify the font-size on a container element &#8211; that will break the 10px rule on all the contained elements!</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://scarfoo.com/archives/38" rel="bookmark" class="crp_title">Development Diary: 4 Tips on Working With Fluid Layouts</a></li><li><a href="http://scarfoo.com/archives/152" rel="bookmark" class="crp_title">How I Structure My CSS Files</a></li><li><a href="http://scarfoo.com/archives/149" rel="bookmark" class="crp_title">The CSS Box Model &#8211; Back to The Basics</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://scarfoo.com/archives/130/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

