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 reading this post on their site?
http://msdn.microsoft.com/en-us/library/ms531186(VS.85).aspx
Thanks
If we use ie7, it could break the long word well. So I suggest you could add the meta tag in html to force the ie using ie7. Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread.
Using word-wrap , overflow-wrap , and word-break CSS properties. You can use the word-wrap , overflow-wrap , or word-break CSS properties to wrap or break words that would otherwise overflow their container.
The word-break property in CSS is used to specify how a word should be broken or split when reaching the end of a line. The word-wrap property is used to split/break long words and wrap them into the next line.
If I recall correctly, word-wrap: break-word;
is indeed supported in Internet Explorer 8, but the styled element must have layout.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With