Internet Explorer 11 supports word separation

Internet explorer continues to split my words. Chrome and Firefox are working fine.

Here is my code and link to the site: http://www.hgsainc.com/about/
Thank you for your help!

.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;
}
+4
source share
2 answers

I have not looked at your site, but it looks like you need to add a prefix -ms-hyphensto your css. Do you have -webkitand -moz, but not -ms:

-ms-hyphens: none;

See here for more information: http://msdn.microsoft.com/en-us/library/ie/hh771871(v=vs.85).aspx

, , , Opera , : http://caniuse.com/css-hyphens - , .

+5

Internet Explorer , , -ms-hyphens:auto; . , -ms-hyphens:auto; , .

, , http://www.hgsainc.com/wp-content/themes/twentythirteen/style.css * 5.3 Entry Content. hyphens, .

+1

Source: https://habr.com/ru/post/1524586/


All Articles