gpt4 book ai didi

css - 一个单词一个单词地打断一个长句子

转载 作者:行者123 更新时间:2023-11-28 10:44:09 25 4
gpt4 key购买 nike

"Subject to 10% service charge per room per night. Any cancellation or amendments can be made 2 days prior to arrival. Otherwise, one nights’ room rate will be levied. The first night guarantee is required at time of reservation and one night room rental will be charged to the credit card provided in the event of no show, late cancellation or amendment. If any dispute arises, Hotel Rainbow Hong Kong reserves the final decision."

我使用了 css 属性“word-break:break-all”,但效果不佳。还有一些词被打散了。

最佳答案

** 你需要'word-wrap'属性**

用这个

word-wrap:break-word;

关于css - 一个单词一个单词地打断一个长句子,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23056380/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com