文本没有闯入段落

发布于 2025-02-11 07:06:41 字数 214 浏览 2 评论 0原文

简单:为什么会发生这种情况? 当我有一个没有空间的文本(例如URL链接)时,该行将继续外部文本区域。 image

显然这是在类似情况下发生的情况,但是如何预防呢?有时确实碰巧的是,一条线太长了,单词之间没有空间。

simply: why this happens?
when I have a text with no space , like a url link, the line continues outer the text area.
image

apparently this is what happens in similar situations, but how to prevent it? some times it really happens that a line is too long with no space inbetween the words.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

去了角落 2025-02-18 07:06:41

将此代码添加到您的段落类别或标签

word-wrap: break-word;

Add this code to your paragraph class or tag

word-wrap: break-word;
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文