Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

CSS3 overflow-style property

CSS3 overflow-style property

Example

Set the preferred scrolling method for an overflowing element:

div

{

overflow:

auto

;

overflow-style:

marquee

,

panner

;

}

Try it »


Browser support

Internet Explorer Firefox Opera Google Chrome Safari

Currently no major browser supports the overflow-style property.


Definition and Usage

The overflow-style property specifies the preferred scrolling method for an overflowing element.

Default value: auto
Inheritance: no
Animatable: no. Read animatable
Version: CSS3
JavaScript syntax: object.style.overflowStyle="scrollbar"

CSS Syntax



overflow-style: auto|scrollbar|panner|move|marquee;

**Note:** The value can be either auto or a list of methods in order of preference. The browser should use the first scrolling method in the list that it supports.

Value Description
auto
scrollbar Add a scrollbar to the overflowing element.
panner
move Users can move the content of the element directly. Typically, users can drag the content with the mouse.
marquee The content moves on its own without any user agent controlling it.