'text-justify'在Chrome和Firefox中的工作方式不同

时间:2018-02-05 05:07:10

标签: html css twitter-bootstrap text-justify

我正在使用我的网站使用bootstrap,并发现我的文字的合理部分在Chrome和Firefox中的显示方式不同。

HTML

<div class="col-md-12 float1" style="background-color: #666;">
  <div>
    <p style="margin-bottom: 20px; margin-top: 0">The intention to build is often clouded with difficult planning that involves multiple parties which is hard to be coordinated. SAM is here as your one-stop-solution. Engineering, designing, procuring, managing, building, and finishing. Sit back and
      relax as we handle your dreamed project - We do it all.</p>
  </div>
</div>

CSS

.float1 {
  text-align: justify;
}

我的目标是使文字看起来完全一样。

图片: https://imgur.com/y90GIBV https://imgur.com/ugh35xT

0 个答案:

没有答案