Html 阿拉伯语翻译中的CSS换行问题

Html 阿拉伯语翻译中的CSS换行问题,html,css,arabic,Html,Css,Arabic,我正在用阿拉伯语翻译一页。我有这样一行(相当于英语) here listed are member team your to assigned training the All here listed are member team your to assigned training the Al

我正在用阿拉伯语翻译一页。我有这样一行(相当于英语)

             here listed are member team your to assigned training the All 
                             here listed are member team your to assigned
                                                         training the All
每当线条长度增加时,线条都会被包裹,现在看起来就像这样

             here listed are member team your to assigned training the All 
                             here listed are member team your to assigned
                                                         training the All
这当然是不利的。我想要的是

                             member team your to assigned training the All
                                                           here listed are 
是否有任何CSS属性可以这样做!如果你们中有人遇到这样的问题,请告诉我正确的方向

编辑

HTML

<p>here listed are member team your to assigned training the All</p>
您可以添加

direction='rtl'
属性设置为几乎任何HTML元素以实现此目的

对于阿拉伯语网页,您可能会发现body元素上的HTML dir属性也很有用:

<body dir='rtl'>
    ...
</body>

...
见:


对于body dir='rtl':查找

上的dir属性,请显示一个包含相关HTML、CSS和真实内容的实际示例,以重现该问题。我发现很难理解为什么线条应该从下到上呈现,不管(水平)书写方向是什么,除非你有一些特殊的设置要求它(这对于阿拉伯语来说是不正常的)。你认为这与这个问题有什么关系?不受欢迎OP显示的行为是文本右对齐的结果,但没有将其设置为从右向左显示。话虽如此,“期望的”输出在第一行只有3个字,这是非常奇怪的——我假设它的目的是让顶行是全长的,而下面的行是短的。OP在过去的一个小时内没有回答。我有同样的问题,这似乎不能解决它。如果我找到了解决方案,我会尽力向你汇报。