{"id":4,"date":"2016-09-04T16:35:53","date_gmt":"2016-09-04T16:35:53","guid":{"rendered":"http:\/\/apps.badjoerichards.com\/apps\/developerhack\/?p=4"},"modified":"2016-09-04T16:35:53","modified_gmt":"2016-09-04T16:35:53","slug":"how-to-fix-chrome-developer-tools-not-showing-the-correct-width-or-height","status":"publish","type":"post","link":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-fix-chrome-developer-tools-not-showing-the-correct-width-or-height\/","title":{"rendered":"How to fix Chrome Developer tools not showing the correct width (or height?)"},"content":{"rendered":"<figure id=\"attachment_5\" aria-describedby=\"caption-attachment-5\" style=\"width: 300px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5\" src=\"http:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-content\/uploads\/sites\/4\/2016\/09\/deleteme-300x228.jpg\" alt=\"Chrome Developer Tools showing width and height of page\" width=\"300\" height=\"228\" srcset=\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-content\/uploads\/sites\/4\/2016\/09\/deleteme-300x228.jpg 300w, https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-content\/uploads\/sites\/4\/2016\/09\/deleteme.jpg 498w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><figcaption id=\"caption-attachment-5\" class=\"wp-caption-text\">Chrome Developer Tools showing width and height of page<\/figcaption><\/figure>\n<p>Notice your width and height not showing accurate values, and affecting your CSS and\/or Javascript work? The latest versions of Chrome (as of\u00a052.0.2743.116) might have this little bug.<\/p>\n<p>To resolve, simply zoom in and out on your current window\/page. Hold on to Ctrl while scrolling the mousewheel up or down.<\/p>\n<p>The values should now show working and usable ones.<\/p>\n<p>Alternately, you can use <a href=\"https:\/\/chrome.google.com\/webstore\/detail\/viewport-dimensions\/kchdfagjljmhgapoonapmfngpadcjkhk?hl=en-US\">a Chrome Extension<\/a> that simply does this for you accurately.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Notice your width and height not showing accurate values, and affecting your CSS and\/or Javascript work? The latest versions of Chrome (as of\u00a052.0.2743.116) might have this little bug. To resolve, simply zoom in and out on your current window\/page. Hold on to Ctrl while scrolling the mousewheel up or down. The values should now show &hellip; <a href=\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-fix-chrome-developer-tools-not-showing-the-correct-width-or-height\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to fix Chrome Developer tools not showing the correct width (or height?)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"footnotes":""},"categories":[3,2],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to fix Chrome Developer tools not showing the correct width (or height?) - Developer Hack<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-fix-chrome-developer-tools-not-showing-the-correct-width-or-height\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to fix Chrome Developer tools not showing the correct width (or height?) - Developer Hack\" \/>\n<meta property=\"og:description\" content=\"Notice your width and height not showing accurate values, and affecting your CSS and\/or Javascript work? The latest versions of Chrome (as of\u00a052.0.2743.116) might have this little bug. To resolve, simply zoom in and out on your current window\/page. Hold on to Ctrl while scrolling the mousewheel up or down. The values should now show &hellip; Continue reading &quot;How to fix Chrome Developer tools not showing the correct width (or height?)&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-fix-chrome-developer-tools-not-showing-the-correct-width-or-height\/\" \/>\n<meta property=\"og:site_name\" content=\"Developer Hack\" \/>\n<meta property=\"article:published_time\" content=\"2016-09-04T16:35:53+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-content\/uploads\/sites\/4\/2016\/09\/deleteme-300x228.jpg\" \/>\n<meta name=\"author\" content=\"Bad Joe\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Bad Joe\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#website\",\"url\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/\",\"name\":\"Developer Hack\",\"description\":\"Hacks, tips, tricks and best practices for developers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-fix-chrome-developer-tools-not-showing-the-correct-width-or-height\/\",\"url\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-fix-chrome-developer-tools-not-showing-the-correct-width-or-height\/\",\"name\":\"How to fix Chrome Developer tools not showing the correct width (or height?) - Developer Hack\",\"isPartOf\":{\"@id\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#website\"},\"datePublished\":\"2016-09-04T16:35:53+00:00\",\"dateModified\":\"2016-09-04T16:35:53+00:00\",\"author\":{\"@id\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#\/schema\/person\/01df012e94dd976ac49e50cdbf0e38d6\"},\"breadcrumb\":{\"@id\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-fix-chrome-developer-tools-not-showing-the-correct-width-or-height\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-fix-chrome-developer-tools-not-showing-the-correct-width-or-height\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-fix-chrome-developer-tools-not-showing-the-correct-width-or-height\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to fix Chrome Developer tools not showing the correct width (or height?)\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#\/schema\/person\/01df012e94dd976ac49e50cdbf0e38d6\",\"name\":\"Bad Joe\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5d413dbb6a01d82a56f2ceb6a82e8704?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5d413dbb6a01d82a56f2ceb6a82e8704?s=96&d=mm&r=g\",\"caption\":\"Bad Joe\"},\"url\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to fix Chrome Developer tools not showing the correct width (or height?) - Developer Hack","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-fix-chrome-developer-tools-not-showing-the-correct-width-or-height\/","og_locale":"en_US","og_type":"article","og_title":"How to fix Chrome Developer tools not showing the correct width (or height?) - Developer Hack","og_description":"Notice your width and height not showing accurate values, and affecting your CSS and\/or Javascript work? The latest versions of Chrome (as of\u00a052.0.2743.116) might have this little bug. To resolve, simply zoom in and out on your current window\/page. Hold on to Ctrl while scrolling the mousewheel up or down. The values should now show &hellip; Continue reading \"How to fix Chrome Developer tools not showing the correct width (or height?)\"","og_url":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-fix-chrome-developer-tools-not-showing-the-correct-width-or-height\/","og_site_name":"Developer Hack","article_published_time":"2016-09-04T16:35:53+00:00","og_image":[{"url":"http:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-content\/uploads\/sites\/4\/2016\/09\/deleteme-300x228.jpg"}],"author":"Bad Joe","twitter_card":"summary","twitter_misc":{"Written by":"Bad Joe"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#website","url":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/","name":"Developer Hack","description":"Hacks, tips, tricks and best practices for developers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-fix-chrome-developer-tools-not-showing-the-correct-width-or-height\/","url":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-fix-chrome-developer-tools-not-showing-the-correct-width-or-height\/","name":"How to fix Chrome Developer tools not showing the correct width (or height?) - Developer Hack","isPartOf":{"@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#website"},"datePublished":"2016-09-04T16:35:53+00:00","dateModified":"2016-09-04T16:35:53+00:00","author":{"@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#\/schema\/person\/01df012e94dd976ac49e50cdbf0e38d6"},"breadcrumb":{"@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-fix-chrome-developer-tools-not-showing-the-correct-width-or-height\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-fix-chrome-developer-tools-not-showing-the-correct-width-or-height\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-fix-chrome-developer-tools-not-showing-the-correct-width-or-height\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/"},{"@type":"ListItem","position":2,"name":"How to fix Chrome Developer tools not showing the correct width (or height?)"}]},{"@type":"Person","@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#\/schema\/person\/01df012e94dd976ac49e50cdbf0e38d6","name":"Bad Joe","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5d413dbb6a01d82a56f2ceb6a82e8704?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5d413dbb6a01d82a56f2ceb6a82e8704?s=96&d=mm&r=g","caption":"Bad Joe"},"url":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/posts\/4"}],"collection":[{"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/comments?post=4"}],"version-history":[{"count":1,"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/posts\/4\/revisions"}],"predecessor-version":[{"id":6,"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/posts\/4\/revisions\/6"}],"wp:attachment":[{"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/media?parent=4"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/categories?post=4"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/tags?post=4"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}