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

Click to Rate and Give Feedback
Properties
 scroll Property
SCROLL Attribute | scroll Property

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

sScrollString that specifies or receives one of the following values.
yesDefault. Scroll bars are turned on.
noScroll bars are turned off.
autoScroll 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

BODY, HTML

See Also

CSS Enhancements in Internet Explorer 6 World Wide Web link
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