Android WebBrowser scroll down page
I developed an android app with Delphi XE 5
and I put a WebBrowser because I must show a webpage. By the way (the webpage) has a width of 1400px and so it is not entirely displayed.
The width is fixed because I used on the webpage width:100%
, but as you can see on the picture, I only have a part of the table. I am missing a scroll bar that allows me to slide down the page and look at the rest of the table.
I tried to add a TVertScrollBox
and inside it I put the WebBrowser but I still see only the beginning of the page. I cannot scroll it down.
How could I fix this? The webpage already have a div
with a scroll bar on the left. You can click here to see the entire page.
I didn't set any property on WebBrowser
, I only put this code on my webpage:
body {
min-height: 100%;
overflow:scroll;
}
In this way, I can scroll down the page displayed on my WebBrowser.
链接地址: http://www.djcxy.com/p/15988.html上一篇: 浮点返回0