Reputation: 949
I am working on an application in which i have div as shown below
HTML:
<div id="commentDiv">
CSS:
#commentDiv {height: 458px; overflow: auto;}
In this div, comments are being populated from service. but the scrolling of div does not work in android
though its working fine in all browsers and other devices like iPhone and iPad.
can any body solve this problem please its urgent.
Upvotes: 1
Views: 4610
Reputation: 6428
No you can't.
The Android browser does not support scrolling of elements other than body
.
In other words: overflow: auto
isn't supported.
This has been filed as a bug a few years ago and it still isn't fixed.
or
It works in alternative browsers, like Firefox mobile, though.
Upvotes: 3