Width, Smallest Width and Height

How to check the width, height and smallest width of a device.

By: David Stockdale.