html or css problem???

I have a php script to echo some text in a div. It has some new lines, but when it is displayed it shows them all in one line until the text runs out of space. I want it to make a new line when the text has a new line in it.
when I view source, it has the correct amount of lines, but doesn't display that way.
how can I do this with css, html or java?
I cant add a <br> because the PHP script is different every id.
 
Back
Top