Quote:
Originally Posted by JSWolf
Do not use <pre>. If the lines are long enough, and the font large enough, the text will not wrap in some cases.
|
It's not for paragraphs of prose. It's for PRE-formatted text: where you explicitly put in every linebreak.
The use here is probably for a few words of "output":
Enter password:_
and the like.
But if you might use longer lines, you can also allow wrapping by defining:
pre {white-space: pre-wrap;}