如何在基于移动的浏览器中显示垂直滚动条
我已经编写了以下代码并在我的智能手机上进行测试,但我没有进入滚动条。我在电脑浏览器上看到了完美的结果。
<body>
<blockquote style="text-align: left; width: 150px; height: 50px; overflow-y: scroll">
<a href="index.php">HOME</a><br />
<a href="aboutus.php">ABOUT US </a><br />
<a href="index.php">HOME</a><br />
<a href="aboutus.php">ABOUT US </a>
</blockquote>
</body>
我看到一切都显示连续,没有垂直滚动条,
I have written following code and i m testing on my smartphone but i m not getting inside scroll bar. Which i am seeing perfect on pc browser.
<body>
<blockquote style="text-align: left; width: 150px; height: 50px; overflow-y: scroll">
<a href="index.php">HOME</a><br />
<a href="aboutus.php">ABOUT US </a><br />
<a href="index.php">HOME</a><br />
<a href="aboutus.php">ABOUT US </a>
</blockquote>
</body>
I am seeing everythig is showing consecutive without vertical scroll bar,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
http://barrow.io/overflow-scrolling
您可以在这里亲自测试一下:
http://barrow.io/lab/overflow/
这已被注意到适用于 android 和iOS 原生浏览器:
http://css-tricks.com/custom-scrollbars-in- webkit/
还注意到在更高版本的 ios 上停止工作。
*-派克
http://barrow.io/overflow-scrolling
You can test this for yourself here:
http://barrow.io/lab/overflow/
This has been noted to work on both android and ios stock browsers:
http://css-tricks.com/custom-scrollbars-in-webkit/
It's also been noted to stop working on later versions ios.
*-pike