Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要将文本放入模板中的 div 中。
我现在有:
<td> <div id="beruf" style="width:490px"> {{profil.beruf|safe}} </div> </td>
但是文本显示“到最后”而不考虑 div 的宽度。
有任何想法吗?
谢谢 ;)
- - 更多信息。这就是我得到的:
也许某些 CSS 打破了自动换行?检查这个: http ://www.w3schools.com/cssref/pr_text_white-space.asp