tags:

views:

46

answers:

3

Good days,

I am looking for a substitute for pre tag of HTML. In pre tag the things with long lines seems bad sometimes on different resolutions, it gets worse and worse. The thing is I need to use pre tag because the one who will be the updater of the website don't know much HTML and also don't have time. So he should simply copy and paste the text. But pre tag make sth easier make other things harder and harder. Suggestions?

+2  A: 

Use something like Markdown or Textile on the server to generate HTML from a simplified markup language.

David Dorward
A: 

A WYSYWIG editor like TinyMCE?

Mchl
A: 

Why would you want a substitute? If the <pre> does what you want, use it. But I agree with you, using <pre> is not going to look good.

David has a good suggestion. Try a search on "convert text to html." If you need a WYSIWYG editor for a CMS that you are building, search for "wysiwyg html editor." TinyMCE is popular, also YUI 2: Rich Text Editor

JohnB