title: Adding <link> tag to aspx page causes VS2008 window to suddenly shrink
body: <p>I am having a really odd and frustrating problem with Visual Studio 2008 on a Windows 8.1 Pro Surface.</p>
  
  <p>Every time I try to add the following line to the <code>&lt;head&gt;</code> of any .aspx page</p>
  
  <pre><code>&lt;link href="scripts/style_v2_1.css" rel="Stylesheet" type="text/css" /&gt;
  </code></pre>
  
  <p>my Visual Studio window, after a few seconds, jumps down to about a quarter of its original size, and the fonts shrink with it becoming tiny and almost unreadable.</p>
  
  <p>In fact just typing</p>
  
  <pre><code>&lt;link
  </code></pre>
  
  <p>is enough to make it go haywire.</p>
  
  <p><a href="https://i.stack.imgur.com/9lZcL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9lZcL.png" alt="Everything is tiny except some buttons"></a></p>
  
  <p>Adding it to the <code>&lt;body&gt;</code> and also inside the <code>&lt;Content&gt;</code> tag of a page using a Master page has the same result. Anywhere else - outside the page content, in Web.config file, does <em>not</em> result in the strange behaviour.</p>
  
  <p>Re-sizing the window or minimizing/maximizing it does not fix the font size, I have to close and reopen it to restore normality (and if the offending line of code is still on screen then the cycle repeats).</p>
  
  <p>Has anybody any idea what is going on or if there is a fix/workaround for this? The application is basically unusable if I need to link stylesheets to a web page using the above method.</p>
  
  <p>Obviously running VS2008 on Windows 8 (or at all in this day and age!) is not ideal but it should surely be compatible nonetheless?</p>
  
  <p><hr>
  Note:
  A probably related thing I have noticed previously is that when I resize the Text Editor by dragging down from the top of the Error List, the result is fine but the resizing "graphic" appears in the wrong place - almost as if some part of the application "thinks" the window is a quarter of the size it really is: </p>
  
  <p><a href="https://i.stack.imgur.com/xqLoS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xqLoS.png" alt="related-resizing-issue"></a></p>