Word-wrap not working in Internet Explorer

2019-04-04 10:44发布

When I'm using word-wrap:break-word with Browser Mode: IE9 Compatibility View and Document Mode: IE7 standards its working perfectly fine. However when I change the Document Mode: IE9 standards, its not working. I've also tried using -ms-word-wrap:break-word however its giving me the same result.

Document Type Definition: DTD/xhtml1-transitional.dtd

Can anyone tell me why is it so and if there is any workaround to cope up with it ?

7条回答
等我变得足够好
2楼-- · 2019-04-04 11:38

Adding -ms-word-break: break-word; worked for me.

查看更多
登录 后发表回答