css连字符不在chrome中工作

时间:2017-12-08 13:40:22

标签: html css google-chrome

在我的项目段落中(在p标签中)我给出了text-align:justify;但在某些方面,我尝试了这个解决方案,因此有更多的空间来: HTML代码:

application.properties

CSS代码:

<p>What is Lorem Ipsum? Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>

但是在这段代码中,mozilla可以工作但不能在chrome中工作,为此我尝试

p{
    text-align:justify;
    word-break: break-all;
    hyphens: auto;
}

在css下面-webkit-用于chrome权利但仍然无法正常工作请帮忙,请给出解决方案......

1 个答案:

答案 0 :(得分:3)

这是适用于Windows,Linux和ChromeOS的Chrome中的known bug