<?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>Bricks and Clicks: A blog by Montreal-based Web Marketing Consultant, Rommil Santiago &#187; Reset</title>
	<atom:link href="http://www.rommil.com/blog/tag/reset/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rommil.com/blog</link>
	<description>Web consultant, Rommil Santiago, on web marketing and management.</description>
	<lastBuildDate>Thu, 17 Jun 2010 01:58:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Essential CSS: The Reset</title>
		<link>http://www.rommil.com/blog/2009/01/16/essential-css-the-reset/</link>
		<comments>http://www.rommil.com/blog/2009/01/16/essential-css-the-reset/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 12:28:18 +0000</pubDate>
		<dc:creator>Rommil Santiago</dc:creator>
				<category><![CDATA[CSS/Design]]></category>
		<category><![CDATA[Reset]]></category>

		<guid isPermaLink="false">http://www.rommil.com/blog/?p=394</guid>
		<description><![CDATA[One of the most essential tools I have when I build a web site is the CSS reset. What the reset does is basically strip some or all the default styling (like padding, margins, font-sizes, etc) applied to HTML elements by different web browsers. The reason we want to do this is that each browser [...]]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_395" class="wp-caption alignright" style="width: 370px"><img class="size-full wp-image-395" title="reset" src="http://www.rommil.com/blog/wp-content/uploads/2009/01/reset.jpg" alt="Resetting CSS styles will save you a lot of time" width="360" height="270" /><p class="wp-caption-text">Resetting CSS styles will save you a lot of time</p></div>One of the most essential tools I have when I build a web site is the CSS reset. What the reset does is basically strip some or all the default styling (like padding, margins, font-sizes, etc) applied to HTML elements by different web browsers. The reason we want to do this is that each browser has its own default set of styles, and guess what &#8211; they differ from browser to browser. Starting from a fresh slate is often the easiest way to shorten development time and get the most predictable cross-browser results (though some designers, like Jonathan Snook, @<a href="http://twitter.com/snookca">snookca</a>, <a href="http://snook.ca/archives/html_and_css/no_css_reset/">don&#8217;t personally see a strong need for resets</a>). If you see the benefit of using CSS resets, creating your own reset is very doable, and honestly not super difficult, but why re-invent the wheel? <span id="more-394"></span>There are plenty of reset CSS code out there that you can use. I&#8217;ve listed below some of the more popular reset resources that I know of.</p>
<ul>
<li><strong><a href="http://developer.yahoo.com/yui/reset/">Yahoo&#8217;s YUI Reset CSS</a></strong><br />
This reset does some basic resetting of margins and borders, as well as remove some table borders, and form inputs styling. It validates as CSS 2.1 against <a href="http://jigsaw.w3.org/css-validator/">W3C&#8217;s Validator</a>.</li>
<li><strong><a href="http://twitter.com/meyerweb">Eric Meyer&#8217;s 2008 Reset</a></strong><br />
This latest version from Eric Meyer (@<a href="http://twitter.com/meyerweb">meyerweb</a>), based on Yahoo&#8217;s reset, also validates as CSS 2.1 against <a href="http://jigsaw.w3.org/css-validator/">W3C&#8217;s Validator</a>, and is used in the <a href="http://www.980.gs">980 grid system</a> (which is a solid starting point for any web design project). Eric&#8217;s reset is well known for resetting <em>all </em>default styles (generally speaking) &#8211; meaning you have to style <em>virtually every</em> element (except for notably form inputs). Though this is great for advanced designers, it may not be for everyone.</li>
</ul>
<p>So, say, you <em>do</em> want to reinvent the wheel and create your own homemade reset file. Here are some pointers from <a href="http://www.smashingmagazine.com/2007/09/21/css-frameworks-css-reset-design-from-scratch/">Smashing Magazine</a>:</p>
<ul>
<li><strong>Place the reset code first</strong><br />
Obviously, resetting the styles at then end of your CSS is counter-productive.</li>
<li><strong>Avoid *{padding:0; margin:0;}</strong><br />
I&#8217;m guilty of doing this. A couple of years ago, it seemed like a good idea. One line, reset everything. But according to Christian Montoya, this method <a href="http://www.christianmontoya.com/2007/02/01/css-techniques-i-use-all-the-time/">is very intensive for the browser</a>, and it&#8217;s better to write specific selector resets.</li>
</ul>
<p>While this is no where close to a new technique, it&#8217;s one that many designers aren&#8217;t aware of (along with classing the body tag), and I feel it&#8217;s worth familiarizing yourself with.</p>
<p>What are <strong>your </strong>thoughts about CSS resetting?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rommil.com/blog/2009/01/16/essential-css-the-reset/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
