当使用 Direction:rtl 时,Chrome 在右侧显示垂直滚动条

发布于 2024-12-23 05:06:50 字数 144 浏览 4 评论 0原文

当我放置 style='direction: rtl;' 时,垂直滚动条应该切换两侧并显示在左侧而不是右侧。这是它在 IE 和 FF 中的工作方式,但在 Chrome 中它仍然位于右侧。

这是一个已知的错误吗?有什么办法可以解决吗?

When I put style='direction: rtl;' the vertical scrollbar should switch sides and show on the left instead of right. This is how it works in IE and FF, but in Chrome it remains on the right.

Is it a known bug? Is there any way to fix it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

|煩躁 2024-12-30 05:06:50

这是一个已知的 webkit 错误。在 Safari 中,滚动条也会呈现在右侧。

这里有一个答案,它有几种不同的解决方法,包括 jQuery 插件 jScrollPane一个看起来原生的黑客

This is a known webkit bug. The scroll will render on the right in Safari, as well.

There's an answer here that has several different workarounds, including the jQuery plugin jScrollPane and a native-looking hack.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文