Detecting small screens in responsive design
I have used the usual media queries to produce a responsive WEB design but I am having a little trouble.
If I use:
| @media only screen and (max-width: 700px) { |
I can only detect a window on a PC that has been reduced in width to less than 700px. The problem is that the max width of smart phones is as wide as a PC screen and all that happens is that the display on a phone is too small to read.
It seems to me that I need to detect the dimension of the screen in cm. My media queries work properly and give the correct results within Dreamweaver CC and by adjusting the width of the window on a PC. The display on a phone is the same as on a PC except that it is too small to read properly.
I have seen a lot of discussions on the WEB on this issue and on calculating the width of a phone screen but nothing that is easily used with HTML/CSS.
Any suggestions?
Thanks
Jack
