70行后的换行符 [英] newline after 70 character
本文介绍了70行后的换行符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
喜。我在asp中有一个转发器,读了一段数据库。
我希望在70个字符后的段落中换行。
谢谢。
解决方案
在HTML中,新行是< br />
。把它插入你想要的地方。
顺便说一下,按字符划分线看起来很奇怪。只是猜测:如果你希望有大量的固定宽度线,你还需要确保你的字体是等宽的,如果你使用< pre> ;
。
-SA
这个或者一个怎么样其他选择? 如何将长字符串拆分为可管理的部分并在MessageBox中显示它们 [ ^ ]
hi. i have a repeater in asp , read a paragraph of database.
i want make the newline in paragraph after 70 character.
thanks.
解决方案
In HTML, "new line" is<br/>
. Insert it where you want.
By the way, breaking lines by characters looks weird. Just by guess: if you are hoping to have a massive of fixed-width lines, you also need to make sure your font is monospace, which will be by default if you, for example, use<pre>
.
—SA
How about this or one of the other alternatives? How to Split Long Strings into Manageable Portions and Display them in a MessageBox[^]
这篇关于70行后的换行符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文