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.
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.