Hi,
I need to fit text from a database in a <TD> element and I want to keep the width fixed. Since the text is user submitted I want to present it as close to the original as possble without destroying the table. I decided <pre> was the way to go but this destroys the layout if lines are to long.
So, I want to keep the text as is but force linebreaks. The allowed max width is 750.
Is ther anyway to do this?
Thanks in advance.
I need to fit text from a database in a <TD> element and I want to keep the width fixed. Since the text is user submitted I want to present it as close to the original as possble without destroying the table. I decided <pre> was the way to go but this destroys the layout if lines are to long.
So, I want to keep the text as is but force linebreaks. The allowed max width is 750.
Is ther anyway to do this?
Thanks in advance.