All pastes #411016 Raw Edit

Mine

public text v1 · immutable
#411016 ·published 2007-03-26 20:16 UTC
rendered paste body
<DIV ID="oDiv" STYLE="overflow:auto; height=50; width=200; text-align:left" NOWRAP>The <B>scrollWidth</B> property is read-only, allowing
you to obtain the width actually needed in the scrolling. Even though the width of this <B>DIV</B> is 200, the width inside
the scrolling text box might be less, since the wrapping of the text could mean that the entire width of the object is not used. This dimension can be useful for a variety of reasons; for example,
the width of the <B>DIV</B> could be set to the <B>scrollWidth</B> to conserve horizontal space while respecting the
set width as a maximum. </DIV>