www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Properties
 noWrap Property
NOWRAP Attribute | noWrap Property

Sets or retrieves whether the browser automatically performs wordwrap.

Syntax

HTML<ELEMENT NOWRAP ... >
Scripting[ bWrap = ] object.noWrap

Possible Values

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.

Standards Information

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

Applies To

BODY, DD, DIV, DT, TD, TH
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG