I am using display:table tag to display a table contents in my jsp. In order to fold a lengthy line , i am using the following code
This works fine in IE but not in firefox. Please let me know if there is any alternative way to fix this issue in firefox.
Thanks for sending the google search page Eric.
Before posting this question here, i did google search and none of the options worked out.
I was told that Firefox 3.5 supports word break , so i updated my Firefox version, but still the problem is not fixed.
First, is the value of the "lengthy line" dynamic? If not, just add a tag wherever you'd like it to wrap.
Second, have you tried predefining the width of the column?
My thinking is that unless Firefox has a great reason to break that word, it's not going to. And the only great reason as far as Firefox is concerned is if the word will not fit the defined width of that TD, then it'd wrap it.
- andy c
"Pseudo code first. If you can pseudo code accurately, when you start writing code, you're just applying syntax to the pseudo code. It separates the two most complicated pieces of programming into manageable bites. You create your app's workflow without worrying about syntax. Then you code without worrying about your app's workflow."