gpt4 book ai didi

javascript - break text with css (text == white space == text) float 文本,文本中断

转载 作者:太空宇宙 更新时间:2023-11-04 11:25:42 26 4
gpt4 key购买 nike

有没有办法通过 css 打破文本,以便中间有一个“空白”?目前我正在通过手工打破文本来解决这个问题 -但这是愚蠢的。我知道有一个函数可以让文本在另一个 div 中结束和开始,但 IE 不支持它。

文本是“一个”文本,但我希望中间有这个空白。

这显示了我的意思的样式: text flowing from one div to another

最佳答案

您可以在 CSS 中使用 HTML5 分栏符属性来设置文本样式。包括 IE10/11 在内的所有现代浏览器都支持它。或者您可以尝试 Columnizer jQuery 插件:http://welcome.totheinter.net/columnizer-jquery-plugin/这应该适用于较旧的 IE。

关于javascript - break text with css (text == white space == text) float 文本,文本中断,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32402464/

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