Scrolling WebBroswer works, but not when it has proper DOCTYPE!
- From: "Zytan" <zytanlithium@xxxxxxxxx>
- Date: 28 Mar 2007 11:21:43 -0700
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
.
- Follow-Ups:
- Prev by Date: How to get a DateTimePicker accept and show empty date (emty string/space/null)?
- Next by Date: Re: Scrolling WebBroswer works, but not when it has proper DOCTYPE!
- Previous by thread: How to get a DateTimePicker accept and show empty date (emty string/space/null)?
- Next by thread: Re: Scrolling WebBroswer works, but not when it has proper DOCTYPE!
- Index(es):
Relevant Pages
|
Loading