views:

502

answers:

2

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.

A: 

Take a look at an old post of mine at

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

and see if this helps at all.

Justin Wignall
A: 

You can try overflow: hidden;

That won't break the word, but it will keep the long line from breaking your site layout.

Kip