The text should be multi line but it doesn't appear so

In this page I have got a plain text which I would like to see spread on several lines. I can’t figure out what is interering. Any clue ?

You can’t type like a WYSIWYG editor, or word or anything like that. You’ll need to place some sort of element which tells the browser to render it like you do.

For example, if you wrapped the code in the pre element it should display the way you want.


Or if those are a list of places, then use the ol or ul elements with the appropriate li elements wrapping each line of text. It all depends on the situation.

Add white-space:pre.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.