word-wrap:break-word not working in IE8

前端 未结 5 876
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-30 03:26

Can anyone please tell me why word-wrap: break-word will not work in IE8?

I have this working in other browsers but IE8 refuses to listen despite readin

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-30 04:07

    After looking at this example code from Microsoft:
    https://msdn.microsoft.com/en-us/library/ms531186%28VS.85%29.aspx

    I managed to fix my issues with IE-8 with the following addition to the document and header:

    
    
    
    

    ...and then use this (official) CSS directive:

    word-wrap: break-word;
    

提交回复
热议问题