| Author |
Word Wrap But ....
|
Adnan Memon
Ranch Hand
Joined: Mar 09, 2003
Posts: 32
|
|
|
I want word wraping in pre tag...i saw Eric's solution but in IE it is breaking words too which is annoying ... is there any css/html which wraps text in pre tag but not break words in IE.
|
 |
Jeroen Wenting
Ranch Hand
Joined: Oct 12, 2000
Posts: 5093
|
|
pre is just that, preformated text that is parsed as-is by your browser. You MAY get somewhere by putting the pre section inside a div and giving the div a fixed width.
|
42
|
 |
Adnan Memon
Ranch Hand
Joined: Mar 09, 2003
Posts: 32
|
|
|
If we run eric's solution in netscape navigater it works fine there are no word breaks...then how about IE..why its behaviur is not just like that of navigator. Would u pls give an example of what u mentioned(div in pre).
|
 |
 |
|
|
subject: Word Wrap But ....
|
|
|