word-wrap:break-word not working in IE8

Sixfoot Studio picture Sixfoot Studio · Oct 22, 2010 · Viewed 50.6k times · Source

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

Answer

Frédéric Hamidi picture Frédéric Hamidi · Oct 22, 2010

If I recall correctly, word-wrap: break-word; is indeed supported in Internet Explorer 8, but the styled element must have layout.