Lel*_*ith 4 css split words internet-explorer-11
Internet Explorer继续分裂我的话.Chrome和Firefox工作正常.
这是我的代码和网站链接:http://www.hgsainc.com/about/
感谢您的帮助!
.page #main .entry-content {
width: 100%;
padding-right: 0;
word-wrap: normal;
-webkit-hyphens: none;
-moz-hyphens: none;
hyphens: none;
table-layout: fixed;
}
.page #main .entry-content p,
.page #main .entry-content span {
font-size: 16px;
line-height: 30px;
text-align: right;
}
Run Code Online (Sandbox Code Playgroud)
我没有看过你的网站,但看起来你需要-ms-hyphens在css中添加前缀.你有-webkit,-moz但没有-ms:
-ms-hyphens: none;
Run Code Online (Sandbox Code Playgroud)
有关详细信息,请参阅此处:http://msdn.microsoft.com/en-us/library/ie/hh771871(v = vs.85).aspx
此外,在进一步研究之后,看起来Opera似乎不支持这一点,大多数移动浏览器也不支持:http://caniuse.com/css-hyphens - 如果遇到这种情况,只需要抬头马路.