我遇到一个问题,无法格式化括号时,使用style=“方向: rtl;
<ul style="direction: rtl; ">
<li>data type (model)</li>
<li>try another data type (model)</li>
</ul>
它显示为:

我添加了css white-space:nowrap,这不是解决方案。
发布于 2018-07-21 15:24:48
用户应该在括号后使用从左到右的标记:‎,这样文本就可以从左到右阅读。https://www.w3.org/TR/WCAG20-TECHS/H34.html
<ul style="direction: rtl; ">
<li>data type (model)‎</li>
<li>try another data type (model)‎ </li>
</ul>
https://stackoverflow.com/questions/51453656
复制相似问题