{"id":10193,"date":"2014-06-04T11:55:46","date_gmt":"2014-06-04T15:55:46","guid":{"rendered":"http:\/\/ianchadwick.com\/blog\/?p=10193"},"modified":"2014-06-04T11:55:46","modified_gmt":"2014-06-04T15:55:46","slug":"pondering-responsive-web-design","status":"publish","type":"post","link":"https:\/\/ianchadwick.com\/blog\/pondering-responsive-web-design\/","title":{"rendered":"Pondering Responsive web design"},"content":{"rendered":"<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_10193\" class=\"pvc_stats all  \" data-element-id=\"10193\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.0\" viewBox=\"0 0 502 315\" preserveAspectRatio=\"xMidYMid meet\"><g transform=\"translate(0,332) scale(0.1,-0.1)\" fill=\"\" stroke=\"none\"><path d=\"M2394 3279 l-29 -30 -3 -207 c-2 -182 0 -211 15 -242 39 -76 157 -76 196 0 15 31 17 60 15 243 l-3 209 -33 29 c-26 23 -41 29 -80 29 -41 0 -53 -5 -78 -31z\"\/><path d=\"M3085 3251 c-45 -19 -58 -50 -96 -229 -47 -217 -49 -260 -13 -295 52 -53 146 -42 177 20 16 31 87 366 87 410 0 70 -86 122 -155 94z\"\/><path d=\"M1751 3234 c-13 -9 -29 -31 -37 -50 -12 -29 -10 -49 21 -204 19 -94 39 -189 45 -210 14 -50 54 -80 110 -80 34 0 48 6 76 34 21 21 34 44 34 59 0 14 -18 113 -40 219 -37 178 -43 195 -70 221 -36 32 -101 37 -139 11z\"\/><path d=\"M1163 3073 c-36 -7 -73 -59 -73 -102 0 -56 133 -378 171 -413 34 -32 83 -37 129 -13 70 36 67 87 -16 290 -86 209 -89 214 -129 231 -35 14 -42 15 -82 7z\"\/><path d=\"M3689 3066 c-15 -9 -33 -30 -42 -48 -48 -103 -147 -355 -147 -375 0 -98 131 -148 192 -74 13 15 57 108 97 206 80 196 84 226 37 273 -30 30 -99 39 -137 18z\"\/><path d=\"M583 2784 c-38 -19 -67 -74 -58 -113 9 -42 211 -354 242 -373 16 -10 45 -18 66 -18 51 0 107 52 107 100 0 39 -1 41 -124 234 -80 126 -108 162 -133 173 -41 17 -61 16 -100 -3z\"\/><path d=\"M4250 2784 c-14 -9 -74 -91 -133 -183 -95 -150 -107 -173 -107 -213 0 -55 33 -94 87 -104 67 -13 90 8 211 198 130 202 137 225 78 284 -27 27 -42 34 -72 34 -22 0 -50 -8 -64 -16z\"\/><path d=\"M2275 2693 c-553 -48 -1095 -270 -1585 -649 -135 -104 -459 -423 -483 -476 -23 -49 -22 -139 2 -186 73 -142 361 -457 571 -626 285 -228 642 -407 990 -497 242 -63 336 -73 660 -74 310 0 370 5 595 52 535 111 1045 392 1455 803 122 121 250 273 275 326 19 41 19 137 0 174 -41 79 -309 363 -465 492 -447 370 -946 591 -1479 653 -113 14 -422 18 -536 8z m395 -428 c171 -34 330 -124 456 -258 112 -119 167 -219 211 -378 27 -96 24 -300 -5 -401 -72 -255 -236 -447 -474 -557 -132 -62 -201 -76 -368 -76 -167 0 -236 14 -368 76 -213 98 -373 271 -451 485 -162 444 86 934 547 1084 153 49 292 57 452 25z m909 -232 c222 -123 408 -262 593 -441 76 -74 138 -139 138 -144 0 -16 -233 -242 -330 -319 -155 -123 -309 -223 -461 -299 l-81 -41 32 46 c18 26 49 83 70 128 143 306 141 649 -6 957 -25 52 -61 116 -79 142 l-34 47 45 -20 c26 -10 76 -36 113 -56z m-2057 25 c-40 -58 -105 -190 -130 -263 -110 -324 -59 -707 132 -981 25 -35 42 -64 37 -64 -19 0 -241 119 -326 174 -188 122 -406 314 -532 468 l-58 71 108 103 c185 178 428 349 672 473 66 33 121 60 123 61 2 0 -10 -19 -26 -42z\"\/><path d=\"M2375 1950 c-198 -44 -350 -190 -395 -379 -18 -76 -8 -221 19 -290 114 -284 457 -406 731 -260 98 52 188 154 231 260 27 69 37 214 19 290 -38 163 -166 304 -326 360 -67 23 -215 33 -279 19z\"\/><\/g><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/ianchadwick.com\/blog\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p><a title=\"Mashable\" href=\"http:\/\/mashable.com\/2012\/12\/11\/responsive-web-design\/\" target=\"_blank\"><img decoding=\"async\" src=\"http:\/\/rack.0.mshcdn.com\/media\/ZgkyMDEyLzEyLzE5LzYzL21hc2hhYmxlcmVzLmpwZwpwCXRodW1iCTk1MHg1MzQjCmUJanBn\/297e3a40\/91c\/mashable-responsive-design.jpg\" alt=\"Mashable graphic\" \/><\/a><strong>I&#8217;ve been building websites since the early 1990s, and have had my own websites continually since 1995.<\/strong> For a few years, I did\u00a0website design and analysis for commercial clients &#8211; mostly small local businesses. I\u00a0even taught web design at a local adult learning centre for a couple of years. Way back when the Net was relatively new, I even did some pages for local events. Although I do less coding\u00a0today, mostly for my own use,\u00a0I still have an interest in the developments in web technology and layout.<\/p>\n<p>I taught myself the basics of HTML back when it was version 1.0, 20 years ago &#8211; not all that difficult if you were schooled in using the old word processors like Perfect Writer and Wordstar. The first word processors used similar markup styles. Some even required users to compile the text in transient files, in order to see the formatting results, because they couldn&#8217;t be shown onscreen at the same time as the markup. That&#8217;s because these programs were small, tight and efficient enough to fit in the limited physical computer memory &#8211; 16 to 64KB in the early days of computing &#8211; but not very feature rich. Ah, the good old days of the Z80 and 6502 processors.<\/p>\n<p>HTML was fairly easy (for me), but clumsy. It was a flat, 2D system and building some elements &#8211; tables in particular &#8211; was awkward and time-consuming. HTML\u00a0tried &#8211; with limited success &#8211; to mix design with structure in one all-encompassing language. It was predicated on the printed page &#8211; basically replicating it onscreen. The initial versions of HTML were\u00a0a desktop-publishing-like environment for the screen.<\/p>\n<p>But the old ways are not always suited for the new devices. Page designs and layouts done even five years ago may be outdated and ill-suited for mobile devices (as I have found from my own work). New design paradigms are needed to stay current with the ebb and flow of technologies.<\/p>\n<p><!--more--><\/p>\n<p><a title=\"John Alsop\" href=\"http:\/\/alistapart.com\/article\/dao\" target=\"_blank\">John Alsop wrote<\/a>, in 2000,<\/p>\n<blockquote><p>When a new medium borrows from an existing one, some of what it borrows makes sense, but much of the borrowing is thoughtless, \u201critual\u201d, and often constrains the new medium. Over time, the new medium develops its own conventions, throwing off existing conventions that don\u2019t make sense.<\/p><\/blockquote>\n<p>In order to overcome HTML&#8217;s limitations, coding platforms evolved &#8211; Flash, Java, Javascript among them &#8211; to give designers more flexibility and artistic freedom. While I tinkered with these, I never delved very deep into them. I did quite a bit of computer programming back in the 1980s, but it takes a lot more time and focus than I had to put into it in the past decade. (Which reminds me: I&#8217;m long overdue to update some of my older web pages&#8230; seems every time I start, i get distracted by something else &#8211; blogging, writing, playing ukulele, reading, politics&#8230;) Still, I did learn to incorporate open source scripts within websites, even if I couldn&#8217;t write them from scratch.<\/p>\n<p>CSS &#8211; <a title=\"Wikipedia\" href=\"http:\/\/en.wikipedia.org\/wiki\/Cascading_Style_Sheets\" target=\"_blank\">Cascading Style Sheets<\/a> &#8211; came into use in the late 1990s, separating formatting and layout from structure &#8211; or at least a good portion of it. CSS also introduced a 3D layering that opened up web pages for some spectacular layouts\u00a0and added new levels of complexity (and challenge) to design.<\/p>\n<p>I loved working in CSS &#8211; I still do, although my skill at it today is only modest. But I look at the work of others with great interest, and often download templates and CSS files to experiment with, offline, looking for some elements I can apply in my own sites, deconstructing the author&#8217;s code and his or her intent.<\/p>\n<p>With CSS , typographers and graphic\/layout artists could finally contribute significantly and creatively to web design.<\/p>\n<p>The latest trend is <a title=\"Wikipedia\" href=\"http:\/\/en.wikipedia.org\/wiki\/Responsive_web_design\" target=\"_blank\">responsive web design<\/a> &#8211; RWD &#8211; which <a title=\"Smashing Magazine\" href=\"http:\/\/www.smashingmagazine.com\/2011\/01\/12\/guidelines-for-responsive-web-design\/\" target=\"_blank\">Kayla Knight<\/a> describes as:<\/p>\n<blockquote><p>Responsive Web design is the approach that suggests that design and development should respond to the user\u2019s behavior and environment based on screen size, platform and orientation. The practice consists of a mix of flexible grids and layouts, images and an intelligent use of CSS media queries. As the user switches from their laptop to iPad, the website should automatically switch to accommodate for resolution, image size and scripting abilities. In other words, the website should have the technology to automatically respond to the user\u2019s preferences. This would eliminate the need for a different design and development phase for each new gadget on the market.<\/p><\/blockquote>\n<p>In other words, using a flexible design &#8211; mostly based on CSS &#8211; that presents the web page to the viewer according to the parameters of the device used to view it. In light of the accelerating growth in mobile device usage and ownership, it makes perfect sense. And a responsive design simplifies the layout process: only one site layout need be used, not three or more, each formatted for a different device, as was done in the past.<\/p>\n<p>In an article explaining what key focal points have to be considered and used in creating RWD, <a title=\"Ethan Marcotte\" href=\"http:\/\/alistapart.com\/article\/responsive-web-design\" target=\"_blank\">Ethan Marcotte<\/a> explained:<\/p>\n<blockquote><p>Rather than tailoring disconnected designs to each of an ever-increasing number of web devices, we can treat them as facets of the same experience. We can design for an optimal viewing experience, but embed standards-based technologies into our designs to make them not only more flexible, but more adaptive to the media that renders them. In short, we need to practice responsive web design.<\/p><\/blockquote>\n<p>An article on <a title=\"Mashable\" href=\"http:\/\/mashable.com\/2012\/12\/11\/responsive-web-design\/\" target=\"_blank\">Mashable<\/a> noted:<\/p>\n<blockquote><p>In simple terms, a responsive web design uses &#8220;media queries&#8221; to figure out what resolution of device it&#8217;s being served on. Flexible images and fluid grids then size correctly to fit the screen. If you&#8217;re viewing this article on a desktop browser, for example, try making your browser window smaller. The images and content column will shrink, then the sidebar will disappear altogether. On our homepage, you&#8217;ll see the layout shrink from three columns, to two columns, to a singular column of content.<\/p><\/blockquote>\n<p>This isn&#8217;t as difficult to achieve as it is tricky, because you have to code numerous elements for the sort of awareness required for resizing and optimal display.<\/p>\n<p>It&#8217;s not just for aesthetic reasons that RWD is the way to go. Over at <a title=\"Business2community\" href=\"http:\/\/www.business2community.com\/mobile-apps\/responsive-web-design-cornerstone-mobile-strategy-0900512#!Ute7m\" target=\"_blank\">Business2community.com<\/a>, George Glover recently wrote:<\/p>\n<blockquote><p>Google has advocated for responsive web design and recommends it for mobile configuration with its application (app). The company further states that responsive web design is in fact the industry best practice.<br \/>\nSo why does Google advocate so insistently for responsive web design? It\u2019s because these types of sites have only one URL and the same HTML, neither of which change regardless of the device being used. This makes Google\u2019s job much easier as it crawls, indexes and organises information and content. If sites have different URLs and HTML coding for browsers and apps, Google has to crawl and index these as separate versions, though they\u2019re all still the same site.<\/p><\/blockquote>\n<p>Fortunately (for me), I can download any number of free or shareware templates that already have the essential coding, and can be adapted and personalized &#8211; made easier of course by having a basic understanding of CSS and HTML coding. Which is what I&#8217;m doing now: preparing a new design and look for some of my older pages, preparing to migrate my sites over to RWD platforms, and working on a new website for my 2014 municipal election campaign.<\/p>\n<p>And, of course, I&#8217;m reading everything I can get my hands on about RWD to make sure I understand and apply it properly.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_10193\" class=\"pvc_stats all  \" data-element-id=\"10193\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.0\" viewBox=\"0 0 502 315\" preserveAspectRatio=\"xMidYMid meet\"><g transform=\"translate(0,332) scale(0.1,-0.1)\" fill=\"\" stroke=\"none\"><path d=\"M2394 3279 l-29 -30 -3 -207 c-2 -182 0 -211 15 -242 39 -76 157 -76 196 0 15 31 17 60 15 243 l-3 209 -33 29 c-26 23 -41 29 -80 29 -41 0 -53 -5 -78 -31z\"\/><path d=\"M3085 3251 c-45 -19 -58 -50 -96 -229 -47 -217 -49 -260 -13 -295 52 -53 146 -42 177 20 16 31 87 366 87 410 0 70 -86 122 -155 94z\"\/><path d=\"M1751 3234 c-13 -9 -29 -31 -37 -50 -12 -29 -10 -49 21 -204 19 -94 39 -189 45 -210 14 -50 54 -80 110 -80 34 0 48 6 76 34 21 21 34 44 34 59 0 14 -18 113 -40 219 -37 178 -43 195 -70 221 -36 32 -101 37 -139 11z\"\/><path d=\"M1163 3073 c-36 -7 -73 -59 -73 -102 0 -56 133 -378 171 -413 34 -32 83 -37 129 -13 70 36 67 87 -16 290 -86 209 -89 214 -129 231 -35 14 -42 15 -82 7z\"\/><path d=\"M3689 3066 c-15 -9 -33 -30 -42 -48 -48 -103 -147 -355 -147 -375 0 -98 131 -148 192 -74 13 15 57 108 97 206 80 196 84 226 37 273 -30 30 -99 39 -137 18z\"\/><path d=\"M583 2784 c-38 -19 -67 -74 -58 -113 9 -42 211 -354 242 -373 16 -10 45 -18 66 -18 51 0 107 52 107 100 0 39 -1 41 -124 234 -80 126 -108 162 -133 173 -41 17 -61 16 -100 -3z\"\/><path d=\"M4250 2784 c-14 -9 -74 -91 -133 -183 -95 -150 -107 -173 -107 -213 0 -55 33 -94 87 -104 67 -13 90 8 211 198 130 202 137 225 78 284 -27 27 -42 34 -72 34 -22 0 -50 -8 -64 -16z\"\/><path d=\"M2275 2693 c-553 -48 -1095 -270 -1585 -649 -135 -104 -459 -423 -483 -476 -23 -49 -22 -139 2 -186 73 -142 361 -457 571 -626 285 -228 642 -407 990 -497 242 -63 336 -73 660 -74 310 0 370 5 595 52 535 111 1045 392 1455 803 122 121 250 273 275 326 19 41 19 137 0 174 -41 79 -309 363 -465 492 -447 370 -946 591 -1479 653 -113 14 -422 18 -536 8z m395 -428 c171 -34 330 -124 456 -258 112 -119 167 -219 211 -378 27 -96 24 -300 -5 -401 -72 -255 -236 -447 -474 -557 -132 -62 -201 -76 -368 -76 -167 0 -236 14 -368 76 -213 98 -373 271 -451 485 -162 444 86 934 547 1084 153 49 292 57 452 25z m909 -232 c222 -123 408 -262 593 -441 76 -74 138 -139 138 -144 0 -16 -233 -242 -330 -319 -155 -123 -309 -223 -461 -299 l-81 -41 32 46 c18 26 49 83 70 128 143 306 141 649 -6 957 -25 52 -61 116 -79 142 l-34 47 45 -20 c26 -10 76 -36 113 -56z m-2057 25 c-40 -58 -105 -190 -130 -263 -110 -324 -59 -707 132 -981 25 -35 42 -64 37 -64 -19 0 -241 119 -326 174 -188 122 -406 314 -532 468 l-58 71 108 103 c185 178 428 349 672 473 66 33 121 60 123 61 2 0 -10 -19 -26 -42z\"\/><path d=\"M2375 1950 c-198 -44 -350 -190 -395 -379 -18 -76 -8 -221 19 -290 114 -284 457 -406 731 -260 98 52 188 154 231 260 27 69 37 214 19 290 -38 163 -166 304 -326 360 -67 23 -215 33 -279 19z\"\/><\/g><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/ianchadwick.com\/blog\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p>I&#8217;ve been building websites since the early 1990s, and have had my own websites continually since 1995. For a few years, I did\u00a0website design and analysis for commercial clients &#8211; mostly small local businesses. I\u00a0even taught web design at a local adult learning centre for a couple of years. Way back when the Net was relatively new, I even did some pages for local events. Although I do less coding\u00a0today, mostly for my own use,\u00a0I still have an interest in the developments in web technology and layout. I taught myself the basics of HTML back when it was version 1.0, \u2026&#8230;&#8230; click below for more \u2193<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[393,9,311],"tags":[280,71,427,428],"class_list":["post-10193","post","type-post","status-publish","format-standard","hentry","category-computers-computing","category-personal-reminiscences","category-theme-and-coding-issues","tag-computers","tag-internet","tag-programming","tag-web-design"],"a3_pvc":{"activated":true,"total_views":8980,"today_views":0},"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/ianchadwick.com\/blog\/wp-json\/wp\/v2\/posts\/10193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ianchadwick.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ianchadwick.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ianchadwick.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ianchadwick.com\/blog\/wp-json\/wp\/v2\/comments?post=10193"}],"version-history":[{"count":6,"href":"https:\/\/ianchadwick.com\/blog\/wp-json\/wp\/v2\/posts\/10193\/revisions"}],"predecessor-version":[{"id":10200,"href":"https:\/\/ianchadwick.com\/blog\/wp-json\/wp\/v2\/posts\/10193\/revisions\/10200"}],"wp:attachment":[{"href":"https:\/\/ianchadwick.com\/blog\/wp-json\/wp\/v2\/media?parent=10193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ianchadwick.com\/blog\/wp-json\/wp\/v2\/categories?post=10193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ianchadwick.com\/blog\/wp-json\/wp\/v2\/tags?post=10193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}