Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

enter image description here

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.

like image 524
Alberto Miola Avatar asked Sep 23 '13 12:09

Alberto Miola


1 Answers

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.

like image 142
Alberto Miola Avatar answered Oct 01 '22 02:10

Alberto Miola