JQuery - Detect dimension of screen in cm/inches or alternative for displaying on mobile platforms -


i have looked through information have been able to. far can tell, appears if there no way detect dimensions of screen in cm/inches using jquery. wanting because on mobile phones , tablets, resolution great enough wants show website, make text extremely small. there way solve this, or possibly find alternative way tell display differently using jquery on mobile platforms.

thanks help!

you need set viewport on website:

<meta name="viewport" content="width=device-width, initial-scale=1"> 

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -