|
Pre formatting issue
 ok, I have a pm system on my site which I have been working on a little today. it all works fine, but when I try and format the read message page, it isnt working as Id like
when I read a message, it pulls the content from the sql table and displays it, as usual. now, when I dont add the <pre> tag it reads like
Quote:
thanks alot!***user1: did you get it?***user2: how about the cat picture?
but when I use the <pre> tag it displays correctly
Quote:
thanks alot!
***user1: did you get it?
***user2: how about the cat picture?
the only issue with using the <pre> tag is that it doesnt allow the wordwrap (that I know of). if a line is longer than the table layout, it will stretch the cell way out to the right and the page will get skewed.
is there an alternative to the <pre> tag that will keep the formatting of the table when it calls it from the db, or a way to properly wrap text within a <pre> tag set?
Thanks in advance for your help.
|