Thread: word-wrap <pre>
View Single Post
Old 11-09-2011, 02:58 AM   #1
ncjbhd
Registered User
 
Join Date: Jul 2011
Posts: 262
word-wrap <pre>

i'm currently working on a blogging/journal system. whenever i pull data from my database it shows fine, but first it clears out the whitespace. If i use the <pre> tag to display it, it shows the whitespaces, but if the line is long, it drags off of the window until the line is actually ended.

I need a way to keep all white-space in tact without alteration or if there is a way to give pre a set width or wordwrap.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
ncjbhd is offline   Reply With Quote