{"id":847,"date":"2014-02-20T00:53:58","date_gmt":"2014-02-20T07:53:58","guid":{"rendered":"http:\/\/www.1keydata.com\/blog\/?p=847"},"modified":"2014-02-20T00:53:58","modified_gmt":"2014-02-20T07:53:58","slug":"common-issues-responsive-design-development-process","status":"publish","type":"post","link":"https:\/\/www.1keydata.com\/blog\/common-issues-responsive-design-development-process.html","title":{"rendered":"Common Issues In Responsive Design Development Process"},"content":{"rendered":"<p>Making sure a website renders optimally on various device screen sizes via responsive design is a satisfying exercise for a website developer, and I went through this exercise recently. Of course, I ran into my share of bugs during the process. Below are 3 of the issues I ran into and what (if anything) can be done about them.<\/p>\n<p><!--more--><u><\/p>\n<h3>Rendering OK in browser but not in real device<\/h3>\n<p><\/u><\/p>\n<p>This can sometimes be vexing, as all the code appears to be working properly. The solution to this is actually pretty easy &#8212; just add the following line in the &lt;head&gt; section:<\/p>\n<p>&lt;meta name=&#8221;viewport&#8221; content=&#8221;width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1&#8243; \/&gt;<\/p>\n<p>This will allow your device to render the beautiful responsive design as you see when you change the size of your browser.<\/p>\n<p>To avoid this issue altogether, I recommend that you include this as part of your template if you are creating a new site. If you are converting a non-responsive site to a responsive site, I recommend you add this line as the <a href=\"http:\/\/www.1keydata.com\/blog\/2014\/01\/converting-to-responsive-design-with-css.html\">first step in your conversion<\/a>.<\/p>\n<p><u><\/p>\n<h3>Page layout appears out of alignment<\/h3>\n<p><\/u><br \/>\nThis happens when the floating elements are not cleared. So, elements appear in unintended locations &#8212; for example, what should be below another element ends up appearing to the right of the element. To solve this issue, make sure to include the following statement to &#8220;clear&#8221; the floats:<\/p>\n<p>&lt;div style=&#8221;clear:both;&#8221;&gt;&lt;\/div&gt;<\/p>\n<p><u><\/p>\n<h3>IE8 not rendering correctly<\/h3>\n<p><\/u><\/p>\n<p>IE8 does not support CSS3. Therefore, a responsive design site will not look right in IE8 because that browser does not support CSS3 elements such as @media. There is, unfortunately, no workaround for this issue. The best thing a webmaster should do is to look at the percentage of IE8 traffic to the site, and decide whether the benefits of converting to responsive design outweighs the sub-optimal user experience for IE8 users.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What can go wrong when you are developing a responsive design website, and what can be done to solve them.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[355,354],"_links":{"self":[{"href":"https:\/\/www.1keydata.com\/blog\/wp-json\/wp\/v2\/posts\/847"}],"collection":[{"href":"https:\/\/www.1keydata.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.1keydata.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.1keydata.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.1keydata.com\/blog\/wp-json\/wp\/v2\/comments?post=847"}],"version-history":[{"count":7,"href":"https:\/\/www.1keydata.com\/blog\/wp-json\/wp\/v2\/posts\/847\/revisions"}],"predecessor-version":[{"id":854,"href":"https:\/\/www.1keydata.com\/blog\/wp-json\/wp\/v2\/posts\/847\/revisions\/854"}],"wp:attachment":[{"href":"https:\/\/www.1keydata.com\/blog\/wp-json\/wp\/v2\/media?parent=847"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1keydata.com\/blog\/wp-json\/wp\/v2\/categories?post=847"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1keydata.com\/blog\/wp-json\/wp\/v2\/tags?post=847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}