Scrolling WebBroswer works, but not when it has proper DOCTYPE!



I can scroll a WebBrowser to the bottom like so:

if (webControl.Document != null)
webControl.Document.Body.ScrollTop = int.MaxValue;

But, if I include a proper DOCTYPE (for XHTML 1.1 DTD) like so:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>

It will not work. It doesn't scroll at all. What gives?

Zytan

.



Relevant Pages

  • Tip for newbies
    ... Don't install this game and expect to be able to create a character unless ... You have to scroll to the bottom of the License agreement and ...
    (alt.games.warcraft)
  • Re: Tip for newbies
    ... Don't install this game and expect to be able to create a character unless ... You have to scroll to the bottom of the License agreement and ... Then you have to restart the game again. ...
    (alt.games.warcraft)
  • Re: OT Top Posting is Morally Wrong
    ... scroll down on every single post. ... top-posting, it is more disorienting. ... comment on something that starts at the bottom of the page. ... I don't read every single post, sometimes only when I see that it seems ...
    (alt.autos.toyota)
  • Re: OT Top Posting is Morally Wrong
    ... scroll down on every single post. ... top-posting, it is more disorienting. ... comment on something that starts at the bottom of the page. ... I don't read every single post, sometimes only when I see that it seems to ...
    (alt.autos.toyota)
  • Re: OT Top Posting is Morally Wrong
    ... scroll down on every single post. ... top-posting, it is more disorienting. ... comment on something that starts at the bottom of the page. ... But wouldn't that be the server, ...
    (alt.autos.toyota)

Loading