li上的文本对齐方式在Firefox中移动文本上的项目符号

时间:2018-09-05 08:58:24

标签: html css firefox html-lists

文本对齐对齐在Firefox中的某些行的文本内容上移动项目符号点。有没有办法避免这种行为。 如果您在Firefox中打开该代码段,则该代码段下方将显示该异常。在Chrome&IE(我在IE10 / IE11中检查过)中,它可以正常工作。

如Firefox所示: Firefox

在Chrome中显示 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>

1 个答案:

答案 0 :(得分:0)

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

  • list-style-position:外部;

请检查以下link