title: Scrolling WebBrowser programmatically sometimes doesn't work
body: <p>I'm using the <code>System.Windows.Forms.WebBrowser</code> control and I need to do programmatically scrolling.</p>
  
  <p>For example, I use this code to scroll down:</p>
  
  <pre><code>WebBrowser.Document.Body.ScrollTop += WebBrowser.Height
  </code></pre>
  
  <p>The problem is that in some sites it works but in others it doesn't</p>
  
  <pre><code>http://news.google.com (works good)
  http://stackoverflow.com/ (doesn't work)
  </code></pre>
  
  <p>It's can be something about the body code, but I can't figure out.<br>
  I've also tried:</p>
  
  <pre><code>WebBrowser.Document.Window.ScrollTo(0, 50)
  </code></pre>
  
  <p>but this way I don't know the current position.</p>