when i use document.writeln(text) the string in text (in this case paragraphs of info) are only displayed on one line

i need to know away so that like in html the text that will not fit in the window is rolled over to the next line

thanks