<?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>Webmonkey &#187; Eric Meyer</title>
    <atom:link href="http://www.webmonkey.com/tag/eric-meyer/feed/" rel="self" type="application/rss+xml" />
    <link>http://www.webmonkey.com</link>
    <description>The Web Developer&#039;s Resource</description>
    <lastBuildDate>Fri, 05 Apr 2013 20:20:46 +0000</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <generator>http://wordpress.org/?v=3.4.2</generator>
    
    <item>
        <title>Popular &#8216;CSS Reset&#8217; Stylesheet Gets an HTML5 Makeover</title>
        <link>http://www.webmonkey.com/2011/01/popular-css-reset-stylesheet-gets-an-html5-makeover/</link>
        <comments>http://www.webmonkey.com/2011/01/popular-css-reset-stylesheet-gets-an-html5-makeover/#comments</comments>
        <pubDate>Tue, 04 Jan 2011 16:11:54 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=49452</guid>
        		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[Eric Meyer]]></category>
        <description><![CDATA[Woolly, the CSS sheep. Eric Meyer introduced the web to the concept of a &#8220;reset stylesheet.&#8221; The goal of a reset stylesheet is to make sure every browser starts from the same set of display defaults, correcting differences in default line heights, margins, heading fonts and so on. Now Meyer has updated what&#8217;s probably the [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<div id="attachment_47784" class="wp-caption alignleft" style="width: 167px"><a href="http://www.webmonkey.com/wp-content/uploads/2010/06/CSS_sheep.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2010/06/CSS_sheep.jpg" alt="" title="CSS_sheep" width="157" height="192" class="size-full wp-image-47784" /></a>
<p class="wp-caption-text">Woolly, the CSS sheep.</p>
</div>
<p>Eric Meyer introduced the web to the concept of a &#8220;reset stylesheet.&#8221; The goal of a reset stylesheet is to make sure every browser starts from the same set of display defaults, correcting differences in default line heights, margins, heading fonts and so on. Now Meyer has updated what&#8217;s probably the web&#8217;s most popular reset stylesheet, the famous &#8220;Eric Meyer Reset.&#8221; </p>
<p>You can grab the <a href="http://meyerweb.com/eric/thoughts/2011/01/03/reset-revisited/">latest version of Meyer&#8217;s reset stylesheet</a> from his website (note that Meyer&#8217;s main reset page still hosts V1, for the updated version you&#8217;ll need to copy and paste from the linked blog post).</p>
<p>The latest version of Meyer&#8217;s reset stylesheet dispenses with a few CSS rules that probably aren&#8217;t necessary anymore &#8212; for example, the <code>font</code> selector in the first reset rule &#8212; and adds some new rules to handle HTML5 elements in older browsers.</p>
<p>Meyer also corrects what he considers the biggest mistake of the original code &#8212; setting <code>:focus</code> to invisible. The idea behind the rule was sound &#8212; reset <code>:focus</code> so authors can easily define their own styles. The problem was that too many people did not define their own focus styles. That meant thousands of websites that simply copied and pasted (or hotlinked) Meyer&#8217;s stylesheet, without really reading it, wiped out all the <code>:focus</code> styles. </p>
<p>In the new version Meyer has commented out the entire <code>:focus</code> rule to avoid obliterating <code>:focus</code> styles on sites that simply copy and paste the code. Those that take the time to uncomment the rule will, one hopes, notice the comment telling them they need to define their own visible focus rule.</p>
<p>If you&#8217;ve been using the also very popular <a href="http://html5doctor.com/html-5-reset-stylesheet/">HTML5 Doctor reset stylesheet</a>, you&#8217;ll probably notice some similarities in Meyer&#8217;s new effort. Both make excellent starting points for those that have grown accustomed to reset stylesheets. Just keep in mind that Meyer&#8217;s update is still a beta release so, as he writes, &#8220;use with caution and test with abandon.&#8221;</p>
<p><strong>See Also:</strong><br/></p>
<ul>
<li><a href="http://www.webmonkey.com/2010/08/simplify-css-3-with-online-code-generators/">Simplify CSS 3 With Online Code Generators</a></li>
<li><a href="http://www.webmonkey.com/2010/06/dealing-with-browser-differences-in-css-3/">Dealing With Browser Differences in CSS 3</a></li>
<li><a href="http://www.webmonkey.com/2010/07/advice-from-the-css-guru-embrace-prefixes/">Advice From the CSS Guru: Embrace Prefixes</a></li>
<li><a href="http://www.webmonkey.com/2008/08/css_should_you_use_a_framework_or_diy/">CSS: Should You Use a Framework or DIY</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2011/01/popular-css-reset-stylesheet-gets-an-html5-makeover/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Advice From the CSS Guru: Embrace Prefixes</title>
        <link>http://www.webmonkey.com/2010/07/advice-from-the-css-guru-embrace-prefixes/</link>
        <comments>http://www.webmonkey.com/2010/07/advice-from-the-css-guru-embrace-prefixes/#comments</comments>
        <pubDate>Tue, 06 Jul 2010 19:23:04 +0000</pubDate>

                <dc:creator>Michael Calore</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=47950</guid>
        		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS 3]]></category>
		<category><![CDATA[Eric Meyer]]></category>
		<category><![CDATA[Meyer]]></category>
		<category><![CDATA[Prefixes]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2010/07/Sisifus_the_faculties.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2010/07/Sisifus_the_faculties.jpg" alt="Advice From the CSS Guru: Embrace Prefixes" /></div>Vendor-specific CSS prefixes have been popping up in all the shiny and fancy CSS 3 demos of late. Microsoft IE 9, Firefox and Safari have all been using them to show off their latest CSS tricks, and you&#8217;ve probably already formed an opinion about them. Web purists scoff at prefixes, since they add to the [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><div id="attachment_47951" class="wp-caption alignleft" style="width: 213px"><a href="http://www.webmonkey.com/wp-content/uploads/2010/07/Sisifus_the_faculties.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2010/07/Sisifus_the_faculties-203x300.jpg" alt="Sisyphus" title="Sisifus_the_faculties" width="203" height="300" class="size-medium wp-image-47951" /></a><p class="wp-caption-text">Sisyphus, by Max Klinger. The four ladies up top are named Gecko, WebKit, Trident and Presto.</p></div>
<p>Vendor-specific CSS prefixes have been popping up in all the shiny and fancy CSS 3 demos of late. Microsoft <a href="http://ie.microsoft.com/testdrive/">IE 9</a>, <a href="http://hacks.mozilla.org/">Firefox</a> and <a href="http://www.apple.com/html5/">Safari</a> have all been using them to show off their latest CSS tricks, and you&#8217;ve probably already <a href="http://www.webmonkey.com/2010/06/dealing-with-browser-differences-in-css-3/">formed an opinion</a> about them.</p>
<p>Web purists scoff at prefixes, since they add to the amount of coding and testing required just to get something to show up consistently across browsers. Repetition and bloat aren&#8217;t welcome in this camp. But those who live on the bleeding edge see them in a different light.</p>
<p>In his latest piece for <em>A List Apart</em>, noted CSS scholar <a href="http://meyerweb.com/eric/writing.html">Eric Meyer</a> argues that <a href="http://www.alistapart.com/articles/prefix-or-posthack/">vendor-specific prefixes should be welcomed</a>, not reviled: &#8220;We ought to praise vendors for using prefixes, and indeed encourage them to continue,&#8221; he writes.</p>
<p>Meyer&#8217;s argument is simple. Coding a stack of prefixes into your CSS is not ideal, but it&#8217;s better than the alternative of using inconsistent CSS hacks or having to sniff for user agents to serve up totally different styles to different browsers.</p>
<p>He also argues that, &#8220;prefixes should become a central part of the CSS standardization process&#8230; I believe that prefixes can actually accelerate the advancement and refinement of CSS.&#8221;</p>
<p>And it makes sense. Consider the author working with some brand new CSS property. At this point in its young life, all of the browsers are implementing the property, but all are doing so differently. The author can use the property &#8212; with prefixes &#8212; and gain the utility of whatever magic that CSS property is supplying without having to worry about their pages breaking in such-and-such browser.</p>
<p>These temporary hacks dwindle over time, Meyer writes.</p>
<blockquote><p>
As time goes on and implementations become consistent, browsers will drop the prefixes. From then on, authors will be able to write one line for border-radius instead of six-plus lines of CSS. Without them, we’re just waiting for the next botched implementation that forces us to support it through hacks for years upon years.
</p></blockquote>
<p>Definitely <a href="http://www.alistapart.com/articles/prefix-or-posthack/">check out the whole article</a>. It draws some interesting conclusions. Meanwhile, how do you feel about prefixing in CSS? Does it bother you, or do you agree with Eric that the practice will only make everything more interoperable in the future?</p>
<p><b>See Also:</b></p>
<ul>
<li><a href="http://www.webmonkey.com/2010/06/dealing-with-browser-differences-in-css-3/">Dealing With Browser Differences in CSS 3</a></li>
<li><a href="http://www.webmonkey.com/2010/05/handy-guide-to-detecting-support-for-html5/">Handy Guide to Detecting Support for HTML5</a></li>
<li><a href="http://www.webmonkey.com/2010/02/a_universal_solution_for_rounded_corners_in_your_designs/">A Universal Solution for Rounded Corners in Your Designs</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/07/advice-from-the-css-guru-embrace-prefixes/feed/</wfw:commentRss>
        <slash:comments>6</slash:comments>

        
    </item>
    </channel>
</rss>