SCROLL Attribute | scroll Property | Internet Development Index |
Sets or retrieves a value that indicates whether the scroll bars are turned on or off.
When you use the
Syntax
HTML <ELEMENT SCROLL = sScroll... > Scripting object.scroll [ = sScroll ]
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 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 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
BODY, HTML
See Also
CSS Enhancements in Internet Explorer 6