Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any way to make div scroll in ipad?

I have tried so many different things and I keep searching but I find nothing!

Help anyone?

like image 645
cat Avatar asked Aug 16 '10 18:08

cat


People also ask

How do I make a div content scroll?

For vertical scrollable bar use the x and y axis. Set the overflow-x:hidden; and overflow-y:auto; that will automatically hide the horizontal scroll bar and present only vertical scrollbar. Here the scroll div will be vertically scrollable.

How do I make a div move up and down when I'm scrolling the page?

Just add position: fixed; in your div style. I have checked and Its working fine in my code.

Can div have scrollbar?

The scrollbar can be triggered with any property overflow , overflow-x , or overflow-y and each can be set to any of visible , hidden , scroll , auto , or inherit .


2 Answers

Css Solution

-webkit-overflow-scrolling: touch; 
like image 66
Igor Krupitsky Avatar answered Oct 14 '22 01:10

Igor Krupitsky


use TWO fingers on the div!!! That's it

like image 26
Elwin Avatar answered Oct 14 '22 01:10

Elwin