连串英文自动换行的方法

1.显示效果与代码

[效果]

LDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INF
OLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.I
NFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDK
J.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOL
DKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFO

[代码]

<table style=”TABLE-LAYOUT: fixed” width=”100%” border=”0″ cellspacing=”0″ cellpadding=”7″ bgcolor=”#f7f7f7″>
<tr>
<td style=”LEFT: 0px; WIDTH: 100%; WORD-WRAP: break-word”><font color=”#990000″>[效果]</font><br>
连串英文省略
</font></td>
</tr>
</table>
  
2.注意

[代码]

style=”LEFT: 0px; WIDTH: 100%; WORD-WRAP: break-word” 你可修改为指定的大小如 200px

[效果]

LDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INF
OLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.IN
FOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.
INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDK
J.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFOLDKJ.INFO

发表评论

电子邮件地址不会被公开。 必填项已用*标注

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Copyright © 2018 二ノ空 | Design by ThemesDNA.com
top