Sets or gets a value that indicates whether the scroll bars are turned on or off.
Syntax
HTML | <ELEMENT SCROLL
= sScroll... >
|
---|
Scripting | [ sScroll = ] object.scroll |
---|
Possible Values
sScroll | String that
specifies or receives one of the following values.yes | Default. Scroll bars are turned on. | no | Scroll bars are turned off. | auto | Scroll bars are shown when the page content exceeds the client area. |
|
The property is read/write.
The property has a default value of
yes.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.
Remarks
With Microsoft Internet Explorer 6 and later, when you use the !DOCTYPE declaration to specify standards-compliant mode, this attribute applies to the HTML element. When standards-compliant mode is not specified, as with earlier versions of Windows Internet Explorer, this attribute applies to the BODY element, not the HTML element.
Standards Information
There is no public standard that applies to this property.
Applies To
See Also
CSS Enhancements in Internet Explorer 6 ![World Wide Web link](https://web.archive.org/web/20080323075357im_/http://msdn2.microsoft.com/en-us/library/ms534393.leave-site(en-us,VS.85).gif)