0

Word-wrap is not working in FF 2.0. I know FF above 2.0 supports this word-wrap. But I want to know is there any alternatives do fix this issue for FF2.0. It works fine with all IE versions.

.wrapgridtext 
{
    word-break : break-all;
    max-width : 0;
    word-wrap: break-word; 
}

this class is applied to the "td" in a table where it has width as 130px.

Any help would be appreciated.

4

3 回答 3

1

看看我的一个旧帖子

http://archivist.incutio.com/viewlist/css-discuss/55677

看看这是否有帮助。

于 2009-08-26T14:19:01.333 回答
0

你可以试试overflow: hidden;

这不会破坏这个词,但它会阻止长线破坏您的网站布局。

于 2009-08-26T14:24:16.627 回答
0

FF2 不支持自动换行,甚至在 CSS2.1 规范中也不支持。这是一个 CSS3 属性。

于 2011-02-01T04:22:56.923 回答