Word Wrap在文本区域内不起作用吗?

时间:2016-09-30 11:54:07

标签: css

文本区域内的单词换行不适用于超量和& nbsp。是否有任何解决方案可以使这项工作。

这是我的基本代码:

  <textarea id="rteSample" rows="10" cols="30" style="width: 100%; height: 440px">
The&nbsp;labrum&nbsp;of&nbsp;the&nbsp;hip&nbsp;is&nbsp;a&nbsp;dense&nbsp;fibrocartilagenous&nbsp;structure,&nbsp;much&nbsp;like&nbsp;the&nbsp;meniscus&nbsp;of&nbsp;the&nbsp;knee.&nbsp;It&nbsp;is&nbsp;situated&nbsp;inside&nbsp;the&nbsp;hip&nbsp;joint-capsule&nbsp;and&nbsp;attached&nbsp;non-magnet&nbsp;the&nbsp;pelvic&nbsp;side&nbsp;of&nbsp;the&nbsp;hip&nbsp;joint.&nbsp;It&nbsp;effectively&nbsp;increases&nbsp;the&nbsp;depth&nbsp;of&nbsp;the&nbsp;acetabulum&nbsp;and&nbsp;provides&nbsp;for&nbsp;a&nbsp;smooth&nbsp;transition&nbsp;from&nbsp;the&nbsp;acetabulum&nbsp;to&nbsp;the&nbsp;capsule.&nbsp;A&nbsp;labral&nbsp;tear&nbsp;is&nbsp;a&nbsp;disruption&nbsp;of&nbsp;the&nbsp;continuity&nbsp;of&nbsp;the&nbsp;labrum.&nbsp;It&nbsp;may&nbsp;occur&nbsp;at&nbsp;the&nbsp;pelvis&nbsp;labra-margin&nbsp;or&nbsp;within&nbsp;the&nbsp;substance&nbsp;of&nbsp;the&nbsp;labrum.

有人可以就此提出自己的想法吗?

提前感谢您的帮助

此致 Keerthana。

1 个答案:

答案 0 :(得分:0)

您所描述的行为是预期的,因为&nbsp;代表exec。尝试用常规空格替换它们。