<small id='8p7Cw'></small><noframes id='8p7Cw'>

      <bdo id='8p7Cw'></bdo><ul id='8p7Cw'></ul>
    <i id='8p7Cw'><tr id='8p7Cw'><dt id='8p7Cw'><q id='8p7Cw'><span id='8p7Cw'><b id='8p7Cw'><form id='8p7Cw'><ins id='8p7Cw'></ins><ul id='8p7Cw'></ul><sub id='8p7Cw'></sub></form><legend id='8p7Cw'></legend><bdo id='8p7Cw'><pre id='8p7Cw'><center id='8p7Cw'></center></pre></bdo></b><th id='8p7Cw'></th></span></q></dt></tr></i><div id='8p7Cw'><tfoot id='8p7Cw'></tfoot><dl id='8p7Cw'><fieldset id='8p7Cw'></fieldset></dl></div>
    1. <tfoot id='8p7Cw'></tfoot>

      <legend id='8p7Cw'><style id='8p7Cw'><dir id='8p7Cw'><q id='8p7Cw'></q></dir></style></legend>

      停止自动换行分割单词

      时间:2023-09-04
      <tfoot id='84V8g'></tfoot>

              <legend id='84V8g'><style id='84V8g'><dir id='84V8g'><q id='84V8g'></q></dir></style></legend>

              <small id='84V8g'></small><noframes id='84V8g'>

                <tbody id='84V8g'></tbody>
              <i id='84V8g'><tr id='84V8g'><dt id='84V8g'><q id='84V8g'><span id='84V8g'><b id='84V8g'><form id='84V8g'><ins id='84V8g'></ins><ul id='84V8g'></ul><sub id='84V8g'></sub></form><legend id='84V8g'></legend><bdo id='84V8g'><pre id='84V8g'><center id='84V8g'></center></pre></bdo></b><th id='84V8g'></th></span></q></dt></tr></i><div id='84V8g'><tfoot id='84V8g'></tfoot><dl id='84V8g'><fieldset id='84V8g'></fieldset></dl></div>
                <bdo id='84V8g'></bdo><ul id='84V8g'></ul>
                本文介绍了停止自动换行分割单词的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                body { word-wrap: break-word;}
                

                我一直在使用该代码(上图)将 body 中的文本放入它的容器中.然而,我不喜欢它,它打破了文字.

                I've been using that code (above) to fit the text in the body into it's container. However what I don't like about it, is that it breaks up words.

                是否有另一种方法可以不分词,只在单词之后或之前换行?

                Is there another way where it will not break up words and only line break after or before a word?

                这是在 UIWebView 中使用的.

                推荐答案

                使用 white-space: nowrap;.如果您在设置它的元素上设置了宽度,它应该可以工作.

                use white-space: nowrap;. If you have set width on the element on which you are setting this it should work.

                更新 -在 Firefox 中呈现数据

                update - rendered data in Firefox

                这篇关于停止自动换行分割单词的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:如何让 UIWebView 专注于表单输入并调出键盘? 下一篇:WatchKit 支持 html 吗?有没有像 UIWebview 这样的控制器?

                相关文章

                  <bdo id='LeHU3'></bdo><ul id='LeHU3'></ul>
                <i id='LeHU3'><tr id='LeHU3'><dt id='LeHU3'><q id='LeHU3'><span id='LeHU3'><b id='LeHU3'><form id='LeHU3'><ins id='LeHU3'></ins><ul id='LeHU3'></ul><sub id='LeHU3'></sub></form><legend id='LeHU3'></legend><bdo id='LeHU3'><pre id='LeHU3'><center id='LeHU3'></center></pre></bdo></b><th id='LeHU3'></th></span></q></dt></tr></i><div id='LeHU3'><tfoot id='LeHU3'></tfoot><dl id='LeHU3'><fieldset id='LeHU3'></fieldset></dl></div>
              • <legend id='LeHU3'><style id='LeHU3'><dir id='LeHU3'><q id='LeHU3'></q></dir></style></legend>
              • <small id='LeHU3'></small><noframes id='LeHU3'>

                  <tfoot id='LeHU3'></tfoot>