The only way I found till now, is getting the offsetWidth, offsetHeight of a test div
element with height
and width
of one inch:
http://www.infobyip.com/detectmonitordpi.php
Is there a way to detect the screen DPI via JavaScript instead?
Thanks,
Atara.
See Question&Answers more detail:os