溢汽车不能在Android浏览器工作 [英] Overflow auto doesn't work in android browser
本文介绍了溢汽车不能在Android浏览器工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个网页以下指令
<meta name="viewport" content="width=device-width, user-scalable=no" />
我生成动态表格单元格中的以下占位符:
I generate dynamically table cells in the following placeholder:
<div id="gadget_albums" style="width:100%;overflow: auto; ">
<table>
<tr id="albums_t"></tr>
</table>
</div>
它完美的iOS设备,但由于某些原因,在Android上没有横向滚动。可能是什么原因?
It works perfectly on iOS devices, but for some reason no horizontal scrolling on Android. What could be a reason?
从这方面来讲我看到喜欢的人尝试使用
From this side I see like people try use
-webkit-overflow-scrolling: touch
但没有运气无论是。任何解决方案?
but no luck either. Any solution?
推荐答案
在溢出:汽车
属性为&LT; DIV&GT;
尚不可用的Android系统。
你必须找到一个工作围绕这个。我的意思是使用JavaScript的,CSS的组合,HTML就可以实现这一点。
The overflow: auto
property for a <div>
is not yet available in Android.
You'll have to find a work around for this. I mean using the combination of JavaScript, css, HTML you can achieve this.
检查此内容了。
希望这有助于。
这篇关于溢汽车不能在Android浏览器工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文