How to get the document height at different zoom level?
<p>I am using ASP.NET and C#.</p>

<pre><code>document.documentelement.offsetHeight 
</code></pre>

<p>I am using this to find the height of the page. But it is differing based on zoom level. Now i need to get the base height(at 100% zoom) at all zoom level. Because using this i am doing some calculation to set height of other tags.</p>

<p>Is it possible?</p>

<p><strong>Edit:</strong></p>

<p>I did used this to detect the zoom level</p>

<pre><code>((screen.deviceXDPI / screen.systemXDPI) * 100).toFixed();
</code></pre>

<p>But it is not accurate. Is there any other way to detect the zoom level?</p>
