For IE in standards mode (with a doctype type, as you say) scrollTopis an element property <html>, not <body>:
HtmlDocument htmlDoc = this.webBrowser1.Document;
int scrollTop = htmlDoc.GetElementsByTagName("HTML")[0].ScrollTop;
(A more convenient way to get to the item <html>would be nice if anyone knows about it.)
source
share