首页 > 解决方案 > li 上的文本对齐对齐在 Firefox 中移动文本上的项目符号

问题描述

文本对齐对齐在 Firefox 中的特定行上移动文本内容上的项目符号。有没有办法避免这种行为。如果您在 Firefox 中打开它,下面的代码段将显示异常。它在 Chrome 和 IE 中运行良好(我在 IE10/IE11 中检查过)。

如 Firefox 上所示: 火狐

如 Chrome 中所示 铬合金

ul li{text-align:justify;}
<ul>
<li>Property was occupied by Doe Family for past 17  years where in seller Mr. John Doe owner of collateral through CD  claims execution of sale deed with mutual consent. On joint visit by credit and sales team it  was found that there are two parallel title chain of the collateral:</li>
  <li>Way back in 2000-01 John Doe and  his brother entered into collaboration with some Creater Jane Doe and  it was decided that G+2 structure will be built. GF &amp; 1st will go to both  the brothers and 2nd to builder.  But no  collaboration agreement was entered on paper. Further builder  breaching the mutually agreed terms constructed 3rd floor as well  -&gt; Accordingly builder  claimed occupancy n rights on both 2nd and 3rd floor &ndash; property went into  dispute</li>
</ul>

标签: htmlcssfirefoxhtml-lists

解决方案


您可以尝试使用以下属性:

  • 列表样式位置:外部;

请检查以下链接


推荐阅读