This is a Boolean value that controls whether the textual content is wrapped at the right-hand window border or not.
If the value false is assigned to this property, then words will wrap as the page is drawn. This is good and is the way you would expect a browser to behave. The text will flow according to the space available.
If the value true is assigned to this property, the line of text will continue to the right until a <BR> or other block level tag is encountered. This will force the horizontal width of the page to be extremely large and the user will need to scroll furiously to be able to see the text and then scroll back again for the start of the next line.
Only use this if you plan to place line breaks at frequent intervals yourself and really do need to control the line breaks manually.
See also: | TD.noWrap |
Prev | Home | Next |
TH.height | Up | TH.rowSpan |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |