word-wrap doesn't seem 开发者_Python百科to be supported in IE 6.0, judgying by IETester, although I read in a msdn article that is is supported.
How to achieve word-wrap: break-word behaviour in IE 6.0? e.g. using JQuery?
Thanks
Just checked in my IE6 with this code:
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
<!--
p{
width:100px;
word-wrap: break-word;
}
-->
</style>
</head>
<body>
<p>Loremipsumdolorsitamet,consecteturadipiscing</p>
</body>
</html>
And it works fine. See the pic below:
word-wrap: break-word
started as an IE proprietary property/attribute and has been available since IE 5.5 (source). It was added to the CSS3 spec.
精彩评论