<?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; Responsive Design</title>
    <atom:link href="http://www.webmonkey.com/category/responsive-design-2/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>Resizing Responsive Designs with CSS REMs</title>
        <link>http://www.webmonkey.com/2013/03/resizing-responsive-designs-with-css-rems/</link>
        <comments>http://www.webmonkey.com/2013/03/resizing-responsive-designs-with-css-rems/#comments</comments>
        <pubDate>Wed, 27 Mar 2013 19:27:27 +0000</pubDate>

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

        <guid isPermaLink="false">http://www.webmonkey.com/?p=61418</guid>
        		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Responsive Design]]></category>
		<category><![CDATA[responsive design]]></category>
        <description><![CDATA[Responsive, flexible designs can make for complicated resizing -- after all there are a lot of elements on a page and scaling them all for different screen sizes isn't easy. But there's another way to achieve flexibility that doesn't involve keeping track of ems or percentages -- the new CSS REM unit.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><div id="attachment_54241" class="wp-caption alignleft" style="width: 310px"><img src="http://www.webmonkey.com/wp-content/uploads/2012/02/tablets.jpg" alt="" title="tablets" width="300" height="224" class="size-full wp-image-54241" /><p class="wp-caption-text">Photo: Ariel Zambelich/Wired.com</p></div>Building responsive websites means that your design has to adapt to different screen sizes. We&#8217;ve covered a number of ways to do that in the past, including working with percentage widths, em-based type and other flexible techniques of responsive design. </p>
<p>There&#8217;s another way to achieve flexibility that doesn&#8217;t involve keeping track of ems or percentages &#8212; the new CSS REM unit. REMs are just like ems &#8212; REM stands for <em>Root Em</em> &#8212; but instead of being relative to the parent element like Ems, REMs are relative to the document root&#8217;s font size. Most of the time that means the html element. </p>
<p>We&#8217;ve previously looked at REMs as a way to <a href="http://www.webmonkey.com/2012/02/responsive-design-tricks-fluid-typography-with-css-3/">achieve fluid typography</a>, but REMs can help with more than just type sizing. </p>
<p>Mobify&#8217;s Roman Rudenko has an <a href="http://css-tricks.com/theres-more-to-the-css-rem-unit-than-font-sizing/">article on CSS-Tricks</a> that shows how to use REM units to scale specific page elements while leaving others unaffected. Rudenko even shows how you can use REM units as a replacement for the very powerful, but not very well supported, <a href="http://dev.w3.org/csswg/css3-values/#viewport-relative-lengths">viewport width unit</a>.</p>
<p>For those wondering why you might want to resize some elements and not others, here&#8217;s Rudenko&#8217;s use case:</p>
<blockquote>
<p>This style of sizing can be useful for user-driven customization, or to adapt layouts for cases that require secondary elements to be more touchable (tablet) or visible (TV). Without REM, every adjustable element would have to be resized separately.</p>
</blockquote>
<p>This technique can be applied to whole pages as well. For example, if your type is all sized in REMs and you want it to be a bit larger as screen sizes get bigger, all you need to do is adjust the font size on the html element with each media query and all your REM-sized type will get bigger based on that single line of code.</p>
<p>For more on REMs and what you can do with them be sure to check out <a href="http://css-tricks.com/theres-more-to-the-css-rem-unit-than-font-sizing/">Rudenko&#8217;s post</a> and our <a href="http://www.webmonkey.com/2012/02/responsive-design-tricks-fluid-typography-with-css-3/">earlier write up</a>.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/03/resizing-responsive-designs-with-css-rems/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Mobile Browsers Help Users Avoid Bloated Webpages</title>
        <link>http://www.webmonkey.com/2013/03/mobile-browsers-help-users-avoid-bloated-webpages/</link>
        <comments>http://www.webmonkey.com/2013/03/mobile-browsers-help-users-avoid-bloated-webpages/#comments</comments>
        <pubDate>Fri, 08 Mar 2013 16:30:23 +0000</pubDate>

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

        <guid isPermaLink="false">http://www.webmonkey.com/?p=61206</guid>
        		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Responsive Design]]></category>
		<category><![CDATA[UI/UX]]></category>
		<category><![CDATA[Web Basics]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[Opera Mobile]]></category>
		<category><![CDATA[performance]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2013/03/donuts-200x100.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2013/03/donuts.jpg" alt="Mobile Browsers Help Users Avoid Bloated Webpages" /></div>The internet sees your bloated webpages as damage and it's taking steps to route around them. Both Chrome and Opera have recently added an option for mobile users to connect to proxy servers, which slim down webpages before sending them over constrained mobile connections. The rise of proxy servers will likely mean that, in the future, developers will have even less control over how users access their sites.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><div id="attachment_61207" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.webmonkey.com/wp-content/uploads/2013/03/donuts.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2013/03/donuts.jpg" alt="" title="donuts" width="580" height="374" class="size-full wp-image-61207" /></a><p class="wp-caption-text">Stop feeding your website donuts. <em>Image: <a href="https://secure.flickr.com/photos/pinksherbet/1354739463/">D. Sharon Pruitt/Flickr</a></em>.</p></div>Websites are getting fatter, dramatically fatter, with the average page size of sites tracked by the HTTPArchive now <a href="http://httparchive.org/trends.php">nearly 1.3 MB</a>. If the current rate of page size increase continues, that number will <a href="http://www.webperformancetoday.com/2012/11/15/average-web-page-grows-20-percent/">reach 2MB sometime early next year</a>. </p>
<p>That&#8217;s bad for pretty much everyone, but doubly so for mobile users with constrained bandwidth.</p>
<p>Fortunately for mobile users, the network increasingly seems to see large page sizes as damage to route around. </p>
<p>Services like Instapaper, Pocket or Safari&#8217;s Reader have long offered an easy way to strip out extraneous content. Now mobile web browsers are increasingly taking it upon themselves to speed up the bloated web.</p>
<p>The recently unveiled <a href="http://www.webmonkey.com/2013/03/reborn-opera-mobile-sings-on-android/">WebKit-based Opera Mobile</a> borrows Opera Mini&#8217;s proxy-based Turbo Mode, or &#8220;Off Road&#8221; mode as it&#8217;s known now. Once only deemed necessary for feature phones (Opera Mini&#8217;s primary market) proxy-based browsing will soon be available in all Opera browsers.</p>
<p>Google&#8217;s Chrome for Android browser is getting ready to follow suit. </p>
<p>The beta channel release of Chrome for Android recently <a href="http://blog.chromium.org/2013/03/data-compression-in-chrome-beta-for.html">introduced an experimental data compression feature</a> which Google says will &#8220;yield substantial bandwidth savings.&#8221; Chrome&#8217;s compression is nowhere near the level of Opera&#8217;s, but it does roughly the same thing &#8212; puts a proxy server between the user and the bloated site in question and then applies various speed improvements like using the <a href="http://www.webmonkey.com/2009/11/say__hello_world__to_spdy__a_successor_to_http-2/">SPDY protocol</a> and compressing images with WebP.</p>
<p>To turn on the compression head to <code>chrome:flags</code> and look for the &#8220;enable experimental data compression&#8221; option. </p>
<p>Here&#8217;s Google&#8217;s description of the various optimizations:</p>
<blockquote>
<p>For an average web page, over 60% of the transferred bytes are images. The proxy optimizes and transcodes all images to the WebP format, which requires fewer bytes than other popular formats, such as JPEG and PNG. The proxy also performs intelligent compression and minification of HTML, JavaScript and CSS resources, which removes unnecessary whitespace, comments, and other metadata which are not essential to render the page. These optimizations, combined with mandatory gzip compression for all resources, can result in substantial bandwidth savings.</p>
</blockquote>
<p>In other words, Google and Opera are doing what web developers ought to be doing but aren&#8217;t. Just like <a href="http://www.webmonkey.com/2010/06/design-for-readability-first/">developers should have been making reader-friendly pages</a>, but weren&#8217;t, so &#8220;reader&#8221; modes were born.</p>
<p>It works too. In the video embedded below Google&#8217;s Pete Le Page shows how Chrome&#8217;s new proxy options take a page from The Verge and reduce it from a husky 1.9MB to a still fat, but somewhat better 1.2MB. </p>
<p><iframe width="580" height="326" src="http://www.youtube.com/embed/TAxy4q3RP_s" frameborder="0" allowfullscreen></iframe></p>
<p>Want to make sure the internet doesn&#8217;t see your site as damage it needs to route around? Check out developer Brad Frost&#8217;s article <em><a href="http://bradfrostweb.com/blog/post/prioritizing-performance-in-responsive-design/">Prioritizing Performance in Responsive Design</a></em>, which has a ton of great advice and links, including what I think is the most important thing developers can do: <em><a href="http://bradfrostweb.com/blog/post/performance-as-design/">Treat Performance As Design</a></em>. In other words, if your site isn&#8217;t svelte and fast, it&#8217;s not well designed no matter how pretty it might look.</p>
<p>[Note: <a href="http://www.zeldman.com/2011/11/18/it-is-not-ironic/">It is not ironic</a> to post about web page bloat on a page that is, arguably, pretty bloated.]</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/03/mobile-browsers-help-users-avoid-bloated-webpages/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Stop Squinting at Your Screen Thanks to This Responsive Type Experiment</title>
        <link>http://www.webmonkey.com/2013/02/responsive-type-experiment-helps-you-stop-squinting-at-your-screen/</link>
        <comments>http://www.webmonkey.com/2013/02/responsive-type-experiment-helps-you-stop-squinting-at-your-screen/#comments</comments>
        <pubDate>Mon, 18 Feb 2013 15:38:05 +0000</pubDate>

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

        <guid isPermaLink="false">http://www.webmonkey.com/?p=60966</guid>
        		<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[Responsive Design]]></category>
		<category><![CDATA[WebRTC]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2013/02/facetracking-200x100.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2013/02/facetracking.jpg" alt="Stop Squinting at Your Screen Thanks to This Responsive Type Experiment" /></div>Using a JavaScript Library to track faces in a webcam, developer Marko Dugonjić built an app that calculates how close you are to the screen and then adjusts the font size accordingly to make text more legible.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><div id="attachment_60971" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.webmonkey.com/wp-content/uploads/2013/02/facetracking.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2013/02/facetracking.jpg" alt="" title="facetracking" width="580" height="247" class="size-full wp-image-60971" /></a><p class="wp-caption-text">Tracking Webmonkey. <em>Image: Screenshot/Webmonkey</em>.</p></div>Responsive design typically focuses on screen sizes, but that&#8217;s just the practical application of the larger goal &#8212; making a website function well no matter how or where <em>you</em> are viewing it. The emphasis ultimately is on you, not your device. </p>
<p>Developer Marko Dugonjić takes responsive design&#8217;s emphasis on you to new levels of interactivity with his <a href="http://webdesign.maratz.com/lab/responsivetypography/onload/">experiment in typesetting by face detection</a>. </p>
<p>Using a very cool <a href="https://github.com/auduno/headtrackr/">JavaScript headtracking library</a> &#8212; which taps <a href="http://www.webmonkey.com/tag/webrtc/">WebRTC</a> and getUserMedia to access your webcam &#8212; Dugonjić&#8217;s app calculates how close you are to the screen and adjusts the font size to make text more readable.</p>
<p>To see it in action, head on over to the <a href="http://webdesign.maratz.com/lab/responsivetypography/onload/">demo page</a> and grant it permission to use your webcam. For the most useful example, check out the <code>onload</code>-based implementation, but for a better sense of how it works be sure to try the &#8220;Realtime&#8221; version.</p>
<p>It may not be the most practical experiment and how well it works depends on plenty of factors well beyond the control of the site (how good your eyes are, whether or not you&#8217;re wearing your glasses and so on), but it&#8217;s not hard to imagine how this could be very useful in some situations &#8212; for example, bumping up font-size when your site is displayed on a television.</p>
<p>When you&#8217;re done playing with the resizing demo be sure to check out Dugonjić&#8217;s more practical and more immediately useful <a href="http://www.typetester.org/">Typetester</a>. </p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/02/responsive-type-experiment-helps-you-stop-squinting-at-your-screen/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Turning Off Responsive Design</title>
        <link>http://www.webmonkey.com/2013/01/turning-off-responsive-design/</link>
        <comments>http://www.webmonkey.com/2013/01/turning-off-responsive-design/#comments</comments>
        <pubDate>Tue, 15 Jan 2013 19:05:24 +0000</pubDate>

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

        <guid isPermaLink="false">http://www.webmonkey.com/?p=60587</guid>
        		<category><![CDATA[Responsive Design]]></category>
		<category><![CDATA[UI/UX]]></category>
		<category><![CDATA[Visual Design]]></category>
		<category><![CDATA[Web Basics]]></category>
		<category><![CDATA[responsive design]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2013/01/responsive-design-w.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2013/01/responsive-design-w.jpg" alt="Turning Off Responsive Design" /></div>Should you offer users a way to opt-out of responsive designs? Provided your responsive designs are well done the answer is generally no, but as always there are edge cases worth considering.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><div id="attachment_53661" class="wp-caption alignnone" style="width: 590px"><a href="http://www.webmonkey.com/wp-content/uploads/2012/01/tablets.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2012/01/tablets.jpg" alt="" title="tablets" width="580" height="434" class="size-full wp-image-53661" /></a><p class="wp-caption-text">A handful of the many canvases your site will adorn. <em>Photo: Ariel Zambelich/Wired.com</em></p></div>
<p>In the bad old days of just four years ago it was pretty common for mobile users to get shunted off to some half-baked, feature-deprived &#8220;mobile&#8221; version of the website they were trying to visit. This misguided practice was common (and annoying) enough that even today Chrome for Android and other mobile web browsers ship with a feature that allows users to &#8220;request desktop site.&#8221; </p>
<p>To make that feature work Chrome for Android changes its user agent string. Any site that uses user agent strings to redirect mobile users will no longer because to redirect them and the desktop version is displayed. </p>
<p><a href="http://www.webmonkey.com/2013/01/take-responsive-design-beyond-media-queries/">Responsive websites</a> don&#8217;t rely on user agent strings though. Instead they adapt to screen size based on CSS media queries so even if a user has the option for desktop sites checked in Chrome they still won&#8217;t get the &#8220;desktop&#8221; site (of course with responsive sites there really is no desktop site, just a desktop <em>layout</em>). </p>
<p>Provided your <a href="http://www.webmonkey.com/2013/01/simplify-responsive-design-by-embracing-the-flexible-nature-of-the-web/">responsive designs are good</a>, this isn&#8217;t a problem (and if they aren&#8217;t then you have bigger problems). However, Opera web standards evangelist Bruce Lawson raises an interesting edge case: what about users that have never seen the mobile layout and are disoriented when they do? If you were expecting, say, the desktop layout of the <a href="http://bostonglobe.com/">BostonGlobe.com</a> and instead saw the mobile layout for the first time you might be understandably confused. Here&#8217;s what Lawson has to say:</p>
<blockquote>
<p>My reason for wondering [about turning off responsive design] is watching my dad use his Xmas Android phone and seeing his puzzlement that some sites look completely different on that device. Non-RWD sites loaded the layout he was familiar with &#8212; the desktop layout &#8212; which meant he could verify he was on the right site, he knew where in the layout the content he wanted was, and then scroll and zoom to it. When a site looked radically different, he&#8217;d check the URL bar to ensure that he&#8217;d typed in the right address. In short, he found RWD to be confusing and it meant he didn&#8217;t trust the site – no way would he buy anything from these sites. </p>
</blockquote>
<p>The first thing to note is that this isn&#8217;t a problem unique to responsive sites. The same thing would crop up with a separate mobile experience. The difference is the inability to opt out of the responsive layout. An edge case? Sure, but Lawson isn&#8217;t alone in wondering about turning off responsive designs. CSS guru Chris Coyier <a href="http://css-tricks.com/user-opt-out-responsive-design/">tackled that very question</a> last year, writing:</p>
<blockquote>
<p>Why don&#8217;t we see opt-out responsive design? My guess is two-fold:</p>
<ol>
<li>It&#8217;s a bit technically challenging to implement and there aren&#8217;t a lot of precedents.</li>
<li>It&#8217;s admitting you didn&#8217;t do a very good job on the responsive design.</li>
</ol>
<p>The latter likely being the bigger factor. Like: why are we creating this responsive design at all if we aren&#8217;t sure it&#8217;s a better experience?</p>
</blockquote>
<p>I would agree with both points, but clearly there are at least a few edge cases where offering an option to turn off responsive design might be a good idea. Of course it may not be worth worrying about the edge case of unfamiliar visitors &#8212; that&#8217;s the sort of decision you can only really make by looking at your own visitors and doing your own testing. </p>
<p>If you actually want to try it, Coyier has some <a href="http://css-tricks.com/user-opt-out-responsive-design/">ideas on how to go about creating an option to opt out of a responsive design</a>.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/01/turning-off-responsive-design/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Take Responsive Design Beyond Media Queries</title>
        <link>http://www.webmonkey.com/2013/01/take-responsive-design-beyond-media-queries/</link>
        <comments>http://www.webmonkey.com/2013/01/take-responsive-design-beyond-media-queries/#comments</comments>
        <pubDate>Thu, 10 Jan 2013 17:24:49 +0000</pubDate>

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

        <guid isPermaLink="false">http://www.webmonkey.com/?p=60513</guid>
        		<category><![CDATA[Responsive Design]]></category>
		<category><![CDATA[responsive design]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2013/01/responsive-200x100.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2013/01/responsive.jpg" alt="Take Responsive Design Beyond Media Queries" /></div>Fluid Grids, flexible media and CSS media queries are the foundations of responsive design, but that's not the end of the story. In fact, developer Brad Frost argues that going beyond the basics will give responsive design the power to "reshape what the web is, what it can do, where it can go and who it can reach."]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><iframe src="http://player.vimeo.com/video/55076713?title=0&amp;byline=0&amp;portrait=0&amp;color=EB6933" width="580" height="326" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe> </p>
<p>The basic elements of responsive design &#8212; fluid grids, flexible media and CSS media queries &#8212; are key to building successful websites that work across platforms and devices, but these three components are <a href="http://www.webmonkey.com/2011/06/good-responsive-design-goes-beyond-fluid-grids/">not the end of the responsive design story</a>. In fact, as developer Brad Frost argues in the talk embedded above, there is, or should be, much more to it than that.</p>
<p>While many would call the broader approach &#8220;adaptive&#8221; design, Frost wants the phrase &#8220;responsive web design&#8221; to go the way of Corn Flakes, as he puts it. That is, to become a more general term that can &#8220;encompass all the things that go into creating a great multi-device web experience.&#8221; That means things that go beyond fluid grids, flexible media and media queries &#8212; things like performance, device support, device optimization and future-friendly designs.</p>
<p>In Frost&#8217;s analogy responsive design is the tip of the adaptive design iceberg, where all the good stuff is under the water. &#8220;Below the waterline, that&#8217;s where the true opportunity is,&#8221; says Frost, &#8220;that is where we actually have the potential to basically reshape what the web is, what it can do, where it can go and who it can reach. And that is powerful.&#8221;</p>
<p>Just what&#8217;s below the waterline and how do you roll these broader ideas into an actual website? Well, be sure to watch the video &#8212; Frost walks through an example of a mobile-first responsive design, which you can also <a href="http://bradfrostweb.com/blog/mobile/anatomy-of-a-mobile-first-responsive-web-design/">read about on his site</a>. If you prefer a tutorial sans video, Frost&#8217;s write-up from last year is <a href="http://www.html5rocks.com/en/mobile/responsivedesign/">available on HTML5Rocks</a>.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/01/take-responsive-design-beyond-media-queries/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>The Return of the Progressive JPEG</title>
        <link>http://www.webmonkey.com/2013/01/the-return-of-the-progressive-jpeg/</link>
        <comments>http://www.webmonkey.com/2013/01/the-return-of-the-progressive-jpeg/#comments</comments>
        <pubDate>Fri, 04 Jan 2013 19:01:12 +0000</pubDate>

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

        <guid isPermaLink="false">http://www.webmonkey.com/?p=60436</guid>
        		<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Responsive Design]]></category>
		<category><![CDATA[Web Basics]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2013/01/rickastley-200x100.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2013/01/rickastley.jpg" alt="The Return of the Progressive JPEG" /></div>Thanks to the return of limited bandwidth on mobile devices another artifact from the early web is making a comeback -- the progressive JPEG. Progressive JPEGs offer some advantages over their more common "baseline" counterparts, including potentially smaller file sizes and faster perceived load times. But there are trade offs to bear in mind before you start converting your back catalog of images.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><div id="attachment_60438" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.webmonkey.com/wp-content/uploads/2013/01/rickastley.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2013/01/rickastley.jpg" alt="" title="rickastley" width="580" height="187" class="size-full wp-image-60438" /></a><p class="wp-caption-text">Unlike progressive JPEGs, you just never know what a baseline image is going to be until it loads. <em>Image: <a href="http://www.rickastley.co.uk/discography/singles/never-gonna-give-you-up/">rickastley.co.uk</a></em></p></div>
<p>Everything old eventually becomes new again and lately that&#8217;s meant a revival of interest in something most web developers probably abandoned long ago &#8212; progressive JPEG images.</p>
<p>Progressive JPEGs offer some advantages over their more common &#8220;baseline&#8221; counterparts, including potentially smaller file sizes and faster perceived load times. But there are trade offs to bear in mind before you start converting your back catalog of images.</p>
<p>If you happened to have missed the pixelated image loads of the circa 1999 web, here&#8217;s a brief refresher: There are two primary types of JPEG images, baseline and progressive. These days the vast majority of photos you encounter are baseline JPEGs, which means they start loading with the fully rendered top of the image and then continue to draw in the rest of the image as the data is received. </p>
<p>Progressive JPGs on the other hand load the full photo right off the bat, but with only some of the pixel data. That means the image briefly looks pixelated and then appears to sharpen focus as the rest of the data loads. This was the generally recommended way to optimize images back in the days when 56K dial up was considered smoking fast. </p>
<p>Lately, with mobile devices bringing bandwidth limitations back to the web, there&#8217;s been something of a resurgence of interest in progressive JPEGs. The Web Performance Advent Calendar even ran a piece entitled &#8220;<a href="http://calendar.perfplanet.com/2012/progressive-jpegs-a-new-best-practice/">Progressive JPEGs: a new best practice</a>.&#8221; Here&#8217;s developer Ann Robson&#8217;s take on why you should use progressive JPEGs instead of baseline:</p>
<blockquote>
<p>Progressive JPEGs are better because they are faster. Appearing faster is being faster, and <strong>perceived speed is more important that actual speed</strong>. Even if we are being greedy about what we are trying to deliver, progressive JPEGs give us as much as possible as soon as possible. </p>
</blockquote>
<p>If you&#8217;re building responsive websites, progressive JPEGs are also appealing because you can avoid the content reflow that happens when baseline images are loaded after text content. With progressive JPEGs, because some data is loaded right off the bat, text doesn&#8217;t jump around (you can avoid this for non-responsive images by specifying the image dimensions). </p>
<p>Be sure to read Robson&#8217;s full article for some important caveats regarding progressive JPEGs, including the fact that browser support is less than ideal. All browsers will render progressive JPEGs just fine, but many of them &#8212; Safari, Mobile Safari, Opera and IE 8 &#8212; render progressive images just like baseline JPEGs, meaning there is no speed difference. </p>
<p>Another strike against progressive JPEGs is that they must be rendered multiple times as more data arrives. So while they may be marginally faster and possibly make users feel like the page has loaded faster, they hit the CPU pretty hard. That makes them potentially slower than baseline JPEGs in one of the use cases they&#8217;re supposed to be ideal for &#8212; underpowered mobile devices.</p>
<p>But perhaps the most questionable aspect of progressive JPEGs is whether or not users actually perceive a fully loaded, but blurry image that eventually comes into focus as faster than an image that takes longer, but renders all at once. Unfortunately I haven&#8217;t been able to find any actual usability studies addressing that question. I suspect that how you feel about progressive JPEGs is probably, among other things, a good indicator of how long you&#8217;ve been using the web, which is to say that if you&#8217;re all-too-familiar with progressive JPEGs from watching them slowly sharpen into focus over painfully slow dialup it&#8217;s hard to see them as anything but an annoying anachronism.</p>
<p>So, should you switch to progressive JPEGs? As with most things in web design there is no right answer. First you should look at your site&#8217;s stats, see which browser and devices your visitors are using and whether or not those browsers even render progressive JPEGs progressively. Assuming they do and you want to test progressive JPEGs, check out this old, but still very relevant, <a href="http://www.yuiblog.com/blog/2008/12/05/imageopt-4/">post</a> from Yahoo YSlow developer Stoyan Stefanov, who has some data on when, where and how to use progressive JPEGs. </p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/01/the-return-of-the-progressive-jpeg/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Five Ways to Simplify Responsive Design</title>
        <link>http://www.webmonkey.com/2013/01/five-ways-to-simplify-responsive-design/</link>
        <comments>http://www.webmonkey.com/2013/01/five-ways-to-simplify-responsive-design/#comments</comments>
        <pubDate>Thu, 03 Jan 2013 19:50:51 +0000</pubDate>

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

        <guid isPermaLink="false">http://www.webmonkey.com/?p=60431</guid>
        		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Responsive Design]]></category>
		<category><![CDATA[Web Basics]]></category>
		<category><![CDATA[responsive design]]></category>
        <description><![CDATA[Building responsive websites requires a different approach than building a desktop-only site. Developer David Bushell has five suggestions for anyone who's about to or already has embarked on a responsive project.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><div id="attachment_53661" class="wp-caption alignleft" style="width: 590px"><a href="http://www.webmonkey.com/wp-content/uploads/2012/01/tablets.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2012/01/tablets.jpg" alt="" title="tablets" width="580" height="434" class="size-full wp-image-53661" /></a><p class="wp-caption-text">A handful of the many screens your responsive designs must handle. <em>Photo: Ariel Zambelich/Wired.com</em></p></div>Building <a href="http://www.webmonkey.com/2012/10/embracing-the-flexibility-of-the-web-with-responsive-enhancement/">responsive websites</a> can be daunting. After all, instead of just one desktop layout you&#8217;re creating at least two, probably three or even four layouts to handle different breakpoints and screen sizes. That means considerably more work, which can feel overwhelming if you don&#8217;t have a good plan of attack.</p>
<p>One of the better plans I&#8217;ve seen recently comes from developer David Bushell, who recently outlines <a href="http://dbushell.com/2013/01/01/five-tips-for-responsive-builds/">5 Tips for Responsive Builds</a>. Among his suggestions there are two standouts, the first being &#8220;utilize breakpoint zero.&#8221; For Bushell &#8220;breakpoint zero&#8221; just means &#8220;start by writing HTML in a semantic and hierarchical order. Start simple, with no CSS at all and then &#8220;apply the basic styles but don&#8217;t go beyond the default vertical flow.&#8221; </p>
<p>In other words, keep your layout slate blank as long as you can so that when you do start adding layout rules you can spot problems with different breakpoints early and fix them before changing things becomes a major headache.</p>
<p>The other highlight of Bushell&#8217;s post is the suggestion that you maintain a CSS pattern library  &#8212; reusable snippets of CSS you can drop in for quick styling. There are a ton of ways you can do this, whether it&#8217;s something formal like <a href="http://smacss.com/">SMACSS</a> (pronounced &#8220;smacks&#8221;), <a href="https://github.com/stubbornella/oocss/wiki">OOCSS</a>, or just taking the time to <a href="http://www.webmonkey.com/2011/12/write-better-css-with-knyle-style-sheets/">write a style guide</a> with some sample code. The point isn&#8217;t how you do it or which method you use, but <em>that</em> you do it.</p>
<p>Be sure to check out Bushell&#8217;s post for more details on these two suggestions as well as the other three ways you can help make your responsive design process a bit smoother.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/01/five-ways-to-simplify-responsive-design/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Forget JavaScript, It&#8217;s Time for Browsers to Speed Up Images</title>
        <link>http://www.webmonkey.com/2012/12/forget-javascript-its-time-for-browsers-to-speed-up-images/</link>
        <comments>http://www.webmonkey.com/2012/12/forget-javascript-its-time-for-browsers-to-speed-up-images/#comments</comments>
        <pubDate>Wed, 19 Dec 2012 20:48:01 +0000</pubDate>

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

        <guid isPermaLink="false">http://www.webmonkey.com/?p=60411</guid>
        		<category><![CDATA[Responsive Design]]></category>
		<category><![CDATA[Web Basics]]></category>
		<category><![CDATA[responsive images]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2012/12/faster_w.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2012/12/faster_w.jpg" alt="Forget JavaScript, It&#8217;s Time for Browsers to Speed Up Images" /></div>Images make up roughly 60 percent of the data downloaded with the average webpage. It's great that browser makers have been focused on improving JavaScript, but if we really want to speed up the web it's time to tackle images as well.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><div id="attachment_56148" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.webmonkey.com/wp-content/uploads/2012/04/Photo_AdobeShadow2012-03-011.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2012/04/Photo_AdobeShadow2012-03-011.jpg" alt="" title="Photo_AdobeShadow2012-03-01" width="580" height="328" class="size-full wp-image-56148" /></a><p class="wp-caption-text">So many screens, so many images (testing responsive sites with <a href='http://www.webmonkey.com/2012/03/adobe-shadow-simplifies-mobile-web-testing/'>Adobe Shadow</a>). <em>Photo: Adobe</em></p></div></p>
<p>The average webpage is now 1.2 megabytes and around <a href="http://httparchive.org/interesting.php#bytesperpage">60 percent</a> of that rather large payload comes from images. That&#8217;s a lot of data, whether you&#8217;re <a href="http://www.webmonkey.com/2012/08/w3c-proposes-responsive-image-solution/">handling images responsively</a> or just trying to speed up a desktop site.</p>
<p>You might think, if images are the bulk of what your browser is downloading, that browsers would be working hard to speed up the image downloads, perhaps trying alternate, space-saving image formats, but you&#8217;d be wrong.</p>
<p>You might also think that, as Google&#8217;s Ilya Grigorik <a href="http://www.igvita.com/2012/12/18/deploying-new-image-formats-on-the-web/">writes</a>, &#8220;innovating on better image formats would be a top agenda item&#8221; for the web. But again you&#8217;d be wrong. The web is still using the same image formats it&#8217;s been using virtually since the first images appeared online. </p>
<p>Grigorik thinks it&#8217;s high time that changed and we agree.</p>
<p>In a recent post looking at what it would take to <a href="http://www.igvita.com/2012/12/18/deploying-new-image-formats-on-the-web/">deploy new image formats on the web</a>, he writes, &#8220;if we really want to make an impact on web performance, then image formats is the place to do it&#8230; there is absolutely no reason why we shouldn&#8217;t have dozens of specialized formats, each tailored for a specific case and type of image.&#8221;</p>
<p>Of course no web developer wants to deal with dozens of specialized image formats. Nor should they need to &#8212; that&#8217;s a job for servers. &#8220;In a world with dozens of image formats,&#8221; continues Grigorik, &#8220;the human solution does not scale &#8212; read, markup does not scale&#8230; whereas computers are fantastic at doing exactly the kind of optimization work required to solve the problem.&#8221;</p>
<p>Grigorik isn&#8217;t alone in calling for new image formats, nor is he the first to suggest handing these tasks off to the server. Developer and responsive images proponent Matt Wilcox has <a href="http://2002-2012.mattwilcox.net/archive/entry/id/1079/">argued</a> for a similar solution, as have others.</p>
<p>The basic premise of these arguments is that deciding which image to serve up to which device and browser should be a server-side problem. And in fact there&#8217;s already a way to solve this problem with HTTP headers, namely the <code>Accepts</code> header, which tells the server which image formats the browser supports. Based on that information the server could then &#8220;re-encode, recompress, resize, strip unnecessary metadata and deliver the optimal format.&#8221;</p>
<p>The problem is that web browsers (with the exception of Opera) don&#8217;t actually send useful information in the <code>Accepts</code> header. </p>
<p>Thus, the first step in creating a server-side solution for smaller images is to get other browsers to send useful <code>Accepts</code> headers. </p>
<p>The <code>Accepts</code> header isn&#8217;t a magic bullet by any means, but it&#8217;s a problem that&#8217;s not hard to solve provided browser makers prioritize it. But to really get server side image solutions working the web would also need new server tools (fortunately, <a href="https://developers.google.com/speed/docs/mod_pagespeed/filter-image-optimize">several</a> already <a href="https://github.com/pagespeed/ngx_pagespeed">exist</a>). There are other stumbling blocks as well. Grigorik addresses half a dozen potential problems and objections that you can read through in his post.</p>
<p>Even if browser makers come around to the idea and do start improving <code>Accepts</code> headers, bringing better image formats to the web is going to be an uphill battle. But Grigorik is determined to chase the idea. &#8220;Some uphill battles are worth fighting,&#8221; he writes in a comment, &#8220;I think this a good one. Wish me luck.&#8221;</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2012/12/forget-javascript-its-time-for-browsers-to-speed-up-images/feed/</wfw:commentRss>
        <slash:comments>7</slash:comments>

        
    </item>
    
    <item>
        <title>Focus on Content, Not Screen Size With &#8216;Ish&#8217;</title>
        <link>http://www.webmonkey.com/2012/11/focus-on-content-not-screen-size-with-ish/</link>
        <comments>http://www.webmonkey.com/2012/11/focus-on-content-not-screen-size-with-ish/#comments</comments>
        <pubDate>Thu, 15 Nov 2012 18:02:31 +0000</pubDate>

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

        <guid isPermaLink="false">http://www.webmonkey.com/?p=59953</guid>
        		<category><![CDATA[Responsive Design]]></category>
		<category><![CDATA[responsive design]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2012/11/ish-200x100.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2012/11/ish.jpg" alt="Focus on Content, Not Screen Size With &#8216;Ish&#8217;" /></div>There are a lot of tools for viewing your responsive designs at various screen sizes, but a new effort "Ish" from developer Brad Frost encourages developers to think less about specific screen sizes and more about the actual content.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><div id="attachment_59956" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.webmonkey.com/wp-content/uploads/2012/11/ishlg.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2012/11/ish.jpg" alt="" title="ish" width="580" height="335" class="size-full wp-image-59956" /></a><p class="wp-caption-text">Webmonkey in &#8220;Ish&#8221; (not even remotely responsive-ish). <em>Image: Screenshot/Webmonkey</em></p></div>There are, according to developer Brad Frost, some <a href="http://bradfrost.github.com/this-is-responsive/resources.html#viewport-testing">19 viewport testing tools</a> available for checking out your responsive web designs at various screen sizes. That did not, however, stop Frost from <a href="http://bradfrostweb.com/blog/post/ish/">building his own</a>, slightly different, responsive design viewport tester &#8212; Ish.</p>
<p>Frost&#8217;s <a href="http://bradfrostweb.com/demo/ish/">Ish</a> is different in that it doesn&#8217;t showcase specific devices; instead the size options are small-ish, medium-ish, large-ish. Even better, clicking S, M or L will not always get you the same size viewport. Click small once and you might see your design at 320px, but click it again and it might change to 216px.</p>
<p>The point is to not get hung up on how something looks on the latest iPad or the new Nexus, but to make sure your breakpoints are suited to your content and that your design looks good no matter what screen it&#8217;s on. Here&#8217;s Frost&#8217;s reason for building Ish:</p>
<blockquote>
<p>The real reason for this tool is to educate and to facilitate a mental shift. Many clients, designers and developers get hung up on specific device widths, which is why this tool doesn&#8217;t include any such language, device chrome or anything like that. Ish helps keep everyone focused on making a design that looks and functions great at any resolution.</p>
</blockquote>
<p>Using Ish is simple; just head to the demo page and click the URL button in the upper left corner. Plug in your site&#8217;s address and once it loads you can start playing with the size button in the upper right corner to test how your site responds. Be sure to try the &#8220;disco&#8221; option, which will make the viewport dance around between sizes (and if you must, you can plugin a specific screen width).</p>
<p>If you&#8217;d like to grab the code behind Ish for yourself, head on over to <a href="https://github.com/bradfrost/ish.">GitHub</a>.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2012/11/focus-on-content-not-screen-size-with-ish/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Preview the Proposed HTML &#8216;Picture&#8217; Element</title>
        <link>http://www.webmonkey.com/2012/11/preview-the-proposed-html-picture-element/</link>
        <comments>http://www.webmonkey.com/2012/11/preview-the-proposed-html-picture-element/#comments</comments>
        <pubDate>Thu, 08 Nov 2012 18:50:07 +0000</pubDate>

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

        <guid isPermaLink="false">http://www.webmonkey.com/?p=59871</guid>
        		<category><![CDATA[Responsive Design]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2012/11/ricg-200x100.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2012/11/ricg.jpg" alt="Preview the Proposed HTML &#8216;Picture&#8217; Element" /></div>The developers behind the Responsive Images Community Group are hard at work defining a new web standard for handling images across today's multitude of devices. You'll need a special browser, but you can now catch a glimpse of how the proposed "picture" element might work.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><a href="http://www.webmonkey.com/wp-content/uploads/2012/11/ricg.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2012/11/ricg.jpg" alt="" title="ricg" width="359" height="141" class="alignleft size-full wp-image-59873" /></a>The <a href="http://www.w3.org/community/respimg/">Responsive Images Community Group</a> &#8212; a group of developers helping the W3C create a web standard for handling images across devices &#8212; has a new demo page showing off how the proposed HTML <code>&lt;picture&gt;</code> element will work.</p>
<p>If you&#8217;d like to see the <a href="http://www.webmonkey.com/2012/08/w3c-proposes-responsive-image-solution/">still-very-draft <code>&lt;picture&gt;</code> proposal</a> in action, grab a copy of the special <a href="https://github.com/yoavweiss/RespImg-WebCore/downloads">Chromium build</a> (OS X and Linux only) and head on over to the new <a href="http://demos.responsiveimages.org/">Responsive Images Demo Hub</a>.</p>
<p>There are five demos, showing off a variety of <code>&lt;picture&gt;</code> features. The first is the obvious use case &#8212; serving smaller images to small screens and larger images to large screens. There are more sophisticated use cases as well, like the so-called art direction use case where the crop (or even the entire image) changes according to screen size. </p>
<p>For example, imagine you have a large image of someone giving a speech. You served that image to any screen larger than 800px. But for smaller screens you might not want to just shrink that image down since the speaker would be too small to recognize. Instead the <code>&lt;picture&gt;</code> element can be used to serve up a separate, more tightly cropped image to smaller screens.</p>
<p>Other use cases include serving up a monochrome image for print and serving different images based on device orientation.</p>
<p>If you&#8217;d like to create your own demo, head on over to the Responsive Images Community Group&#8217;s <a href="https://github.com/ResponsiveImagesCG/demos/">Github page</a> and fork the demo code. </p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2012/11/preview-the-proposed-html-picture-element/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

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