7

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.

kobik
  • 21,001
  • 4
  • 61
  • 121
Alberto Miola
  • 4,643
  • 8
  • 35
  • 49

1 Answers1

4

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.

Alberto Miola
  • 4,643
  • 8
  • 35
  • 49