我试图阻止文本换行。如何将其添加nowrap
到以下内容并保持一切正常?
html.Append("<ins style=\"background:#e6ffe6;\">").Append(text)
.Append("</ins>");
需要添加如下内容:
// style='white-space:nowrap; display:inline;'
当我添加它时,它会破坏我的样式。我想我添加错了?
html.Append("<ins style='white-space:nowrap; display:inline;',style=\"background:#e6ffe6;\">").Append(text)
.Append("</ins>");