How to fix Chrome Developer tools not showing the correct width (or height?)

Chrome Developer Tools showing width and height of page
Chrome Developer Tools showing width and height of page

Notice your width and height not showing accurate values, and affecting your CSS and/or Javascript work? The latest versions of Chrome (as of 52.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 working and usable ones.

Alternately, you can use a Chrome Extension that simply does this for you accurately.

Leave a Reply

Your email address will not be published. Required fields are marked *