Export (0) Print
Expand All

2.3.1.40 scroll

scroll of type DOMString

Sets or retrieves a value that indicates whether the scroll bars are turned on or off.

Possible values are:

  • yes – Default. Scroll bars are turned on.

  • no – Scroll bars are turned off.

  • auto – Scroll bars are displayed when the page content exceeds the client area.

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.

This attribute extends the HTMLBodyElement interface.

Show:
© 2014 Microsoft