HBCMS更多的中文手册参考:

NOWRAP Attribute | noWrap参数属性

DHTML文档教程

Sets or retrieves whether the browser automatically performs wordwrap.

dhtml语法

HTML<ELEMENT NOWRAP ... >
Scriptingobject.noWrap [ = bWrap ]

DHTML可能的值

bWrapBoolean that specifies or receives one of the following values.
falseDefault. Browser automatically wraps the text.
trueBrowser does not wrap the text.

The property is read/write. The property has a default value of false.

Remarks

Care should be taken when the noWrap property is used in conjunction with the width attribute of table or td elements.

wordwrap still occurs in a td element that has its width attribute set to a value smaller than the unwrapped content of the cell, even if the nowrap property is set to true. therefore, the width attribute takes precedence over the nowrap property in this scenario.

if a td element has its nowrap set to true and the width attribute of its table element is set to a smaller dimension than the rendered content of the td element, wordwrap does not occur. in this case, the nowrap setting takes precedence over the width attribute.

是否符合公共标准

This property is deprecated in HTML Non-Microsoft link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

BODY, DD, DIV, DT, TD, TH