换行FF不兼容

<html>
<head>
<title>Wordwrap for Mozilla</title>
<style type="text/css">
.wordwrap
{
    word-wrap:break-word;
    word-break:break-all;
   -moz-binding: url('./wordwrap.xml#wordwrap');
    overflow: hidden;
}
</style>
</head>
<body>
<div style="width:100px;" class="wordwrap" id="avc">aaa<br/>aaaa aaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccccccccccccccccccccccccccccccc</div>

</body>

</html>

你可能感兴趣的:(html,xml,css)