Javascript and text wrapping and <pre>

admin

Administrator
Staff member
Ok, so here's the brief explanation of what's troubling me. I have a button where it opens up a new window and in the window there is some text. Now, without using the <pre> tag, the text wraps around the window, which is about 400x300, just fine. Once you add the <pre> tag, the text becomes one long sentence unless you manually put in breaks. I was wondering if there was a way to bypass the manual breaks and if there was a way to force the javascript window to wrap text. I thought there was an attribute to do this, but I can't find any. <br />
<br />
Thanks for the help,<br />
James<!--content-->use a table in the popup<!--content-->I tried that and it seems to work. Thanks!<!--content-->
 
Back
Top