Thread: Locking Fonts?
View Single Post
Old 09-17-2021, 10:37 PM   #18
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by JSWolf View Post
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;}
AlanHK is offline   Reply With Quote