Export (0) Print
Expand All

2.3.1.38 noWrap

noWrap of type boolean

Sets or retrieves whether the browser automatically performs word wrap.

Returns false if the browser automatically wraps the text, or true otherwise. The default value is false.

Be aware of the following when using the noWrap property 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.

The noWrap attribute extends the following interfaces:

Show:
© 2014 Microsoft