title: How do I convert a height of an element given in vh to pixels?
body: <p>I have the max-height of an element as 65vh. I need to convert it to pixels in my JavaScript to see whether an image can fit there or if I need to shrink/crop it.  (am doing win8 App development).</p>
  
  <p>Will this work?</p>
  
  <p>100 vh = <code>screen.height</code> therefore 65vh in pixels is <code>screen.height *0.65</code></p>