css { 方向:rtl } 的问题

发布于 2024-12-15 22:50:35 字数 148 浏览 2 评论 0原文

我在这里做了一个例子: http://jsfiddle.net/6CRc7/2/ 我正在尝试制作来自另一边的计时器。但方向:rtl; dir="rtl" 也不起作用。

I made example here: http://jsfiddle.net/6CRc7/2/ I am trying to make timer from other side. But direction: rtl; doesnt work dir="rtl" also.

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

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

发布评论

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

评论(2

兲鉂ぱ嘚淚 2024-12-22 22:50:36

.countdown_section 中的 float 控制字段的顺序,因此如果您将其值更改为 right,您就会得到它如 ss:mmm:hh:dd,但请记住,虽然 RTL 文本是从右到左书写的,但数字是从左到右书写的,正如您对常规拉丁内容所期望的那样。

The float in .countdown_section is what controlling the order of the fields, so if you'll change it value to right you'd get it as ss:mmm:hh:dd, but keep in mind that while RTL text is written from right to left, numbers, are written from left to right as you'd expect from regular latin content.

梦里°也失望 2024-12-22 22:50:36

我认为可能对方向的目的有些困惑:rtl,据我所知,这仅适用于 div 中的文本,用于显示从右到左阅读的阿拉伯语等语言,我认为您只是想安排您的span 标签以相反的顺序显示秒、分钟、小时?或者我误解了你的问题?

请参阅此处的基本示例... http://www.w3.org/ TR/CSS2/visuren.html#direction

I think there maybe some confusion about the purpose of direction: rtl, as I am aware this only applies to text in a div, used to display languages such as arabic which read from right to left, I think you are just trying to arrange your span tags in reverse order so it displays seconds, mins, hours? Or have i misinterpreted your question?

See here for a basic example... http://www.w3.org/TR/CSS2/visuren.html#direction

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