title: HTA, how to programmatically resize all elements in window while placing it on desktop where needed
body: <p>I have read this <a href="https://stackoverflow.com/questions/3166195/change-hta-application-window-size">highly useful post</a> which unfortunately did not resolve my question: How may I use code in the HTA to scale down (shrink) the entire contents of the window, text and boxes both, in an HTA file? I'm using IE11 (or, it uses me), and I need to Ctrl-Scroll to downsize the window content every time I open it. </p>
  
  <p>Now, I added meta http-equiv="x-ua-compatible" content="ie=edge" as suggested in comments, but now that breaks the placement of the file at position 1920,0 . Is there a solution which will allow resizing AND allow me to place the window where I need it?</p>
  
  <pre><code>&lt;html&gt;&lt;title&gt;A Form &lt;/title&gt; 
  &lt;meta http-equiv="x-ua-compatible" content="ie=edge" /&gt;.
  &lt;body style="filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#C0CFE2', startColorstr='#365ebf', gradientType='0');"&gt; 
  &lt;head&gt;
  
  &lt;script language="JavaScript"&gt;window.resizeTo(320,1080);&lt;/script&gt; 
  &lt;style type="text/css"&gt; 
  body { 
   transform: scale(0.9);
   height: 90%; 
   background-color: #EFEFDC; 
   font-family: Arial Narrow; 
   font-size: 12px; 
   color: #343421; 
   margin: 2px;  
  filter: none !important; 
  } 
  
  b { 
   font-size: 16px; 
   padding: 1en; 
  } 
  
  &lt;/style&gt;
  
  &lt;SCRIPT Language="VBScript"&gt;
      Sub Window_Onload
          window.moveTo 1920, 0
      End Sub
  &lt;/SCRIPT&gt;
  </code></pre>