Alberto Rossi
Alberto Rossi

Reputation: 1800

Body height scroll bars

I have a webpage like this that contains a table and it is bigger that the screen size. So I have to put a vertical scroll bar.

I have an android device that opens webpages. I can see the table but I cannot scroll it (on android). When I open the page on firefox using my laptop I see the scroll bars and I can scroll it.

html{
  height: 100%;
}
body {
  min-height: 100%;
}

I wrote this code at the beginning of the page. How can I correctly setup scroll bars so I can scroll the page on my android app too?

I made a test and the problem is not about my android app, because I can scroll other website pages.

fiddle HTML code of the page

Upvotes: 1

Views: 244

Answers (1)

Sid M
Sid M

Reputation: 4354

add

overflow:scroll;

in your body container.

Upvotes: 5

Related Questions